Create a gist now

Instantly share code, notes, and snippets.

@maxmcd /main.go
Last active Nov 9, 2015

What would you like to do?
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