Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
soup-zhang committed Aug 13, 2019
1 parent a70dc8e commit 5647c8b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,11 @@ import (

func main() {
fmt.Println("main start ...")
fmt.Println("main start 222 ...")
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
_, _ = fmt.Fprintf(w, "Soup Hello, %q", html.EscapeString(r.URL.Path))
})
log.Fatal(http.ListenAndServe(":8080", nil))


}

0 comments on commit 5647c8b

Please # to comment.