This commit is contained in:
sm
2018-01-16 21:02:46 -08:00
commit a174bcaa72
7 changed files with 113 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
package main
import (
"log"
"net/http"
"mcquay.me/hwt"
)
func main() {
s := &hwt.Server{}
th := hwt.NewHelloWorldServer(s, nil)
if err := http.ListenAndServe(":8080", th); err != nil {
log.Fatalf("listen and serve: %v", err)
}
}