summaryrefslogtreecommitdiff
path: root/cmd/openstore/main.go
blob: 13706065d7b53a211fed9c44a16b01a088985863 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package main

import (
	"io"
	"log"

	"net/http"
)

func main() {
	http.HandleFunc("GET /", func(w http.ResponseWriter, r *http.Request) {
		io.WriteString(w, "Hello World!\n")
	})

	log.Fatal(http.ListenAndServe(":8080", nil))
}