issue#2970, [Go] add go server codeine template

This commit is contained in:
Guo Huang
2016-05-26 22:34:18 -07:00
parent ce426ee868
commit db9684ff19
24 changed files with 888 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
package main
import (
sw "./go"
"log"
"net/http"
)
func main() {
log.Printf("Server started")
router := sw.NewRouter()
log.Fatal(http.ListenAndServe(":8080", router))
}