Skip to content

Instantly share code, notes, and snippets.

@maxmcd
Last active November 9, 2015 09:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save maxmcd/f430e80ab3246b2ae6d9 to your computer and use it in GitHub Desktop.
Save maxmcd/f430e80ab3246b2ae6d9 to your computer and use it in GitHub Desktop.
Gitbaotest
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