Created
January 11, 2017 12:47
-
-
Save wallrat/dd38374f9575041846d95b8a72b56b91 to your computer and use it in GitHub Desktop.
Revisions
-
wallrat created this gist
Jan 11, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ package main import ( "fmt" "log" "net/http" ) func main() { http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { fmt.Fprintf(w, "Hello world!") }) log.Fatal(http.ListenAndServe(":8081", nil)) }