Created
February 6, 2019 12:22
-
-
Save cyantarek/c5c35beedb563922d3a4f2750e868a42 to your computer and use it in GitHub Desktop.
This file contains 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 characters
package main | |
import "gopkg.in/macaron.v1" | |
func main() { | |
http.HandleFunc("GET", func(w http.ResponseWriter, r *http.Request) { | |
w.Write([]byte("Hello, I'm protected")) | |
}) | |
log.Fatal(http.ListenAndServe(":9096", nil)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment