Skip to content

Instantly share code, notes, and snippets.

@siburu
Created November 4, 2015 11:44
Show Gist options
  • Save siburu/ecec0911e3e449afb4c3 to your computer and use it in GitHub Desktop.
Save siburu/ecec0911e3e449afb4c3 to your computer and use it in GitHub Desktop.
package main
import "net/http"
func main() {
http.ListenAndServe(":8080", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
w.Write([]byte("HELLO!!!"))
}))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment