Skip to content

Instantly share code, notes, and snippets.

@zskamljic
Created November 14, 2017 12:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zskamljic/0b6266a04151bcdb950cd7a0c6114973 to your computer and use it in GitHub Desktop.
Save zskamljic/0b6266a04151bcdb950cd7a0c6114973 to your computer and use it in GitHub Desktop.
func main() {
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "Hello world!")
})
http.ListenAndServe(":8080", nil)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment