Last active
November 9, 2015 09:28
-
-
Save maxmcd/f430e80ab3246b2ae6d9 to your computer and use it in GitHub Desktop.
Gitbaotest
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 characters
package main | |
import ( | |
"fmt" | |
"net/http" | |
"time" | |
) | |
func main() { | |
http.HandleFunc("/", | |
func(w http.ResponseWriter, req *http.Request) { | |
w.Write([]byte(fmt.Sprintf("Gitbao is awesome at %s", time.Now()))) | |
}) | |
http.ListenAndServe(":8080", nil) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment