bumps version

This commit is contained in:
Stephen McQuay 2018-01-09 16:33:41 -08:00
parent f936c2f491
commit 2f566d692a
Signed by: sm
GPG Key ID: 4E4B72F479BA3CE5

View File

@ -13,7 +13,7 @@ type v struct {
func main() { func main() {
http.HandleFunc("/", func(w http.ResponseWriter, req *http.Request) { http.HandleFunc("/", func(w http.ResponseWriter, req *http.Request) {
w.Header().Set("Content-Type", "application/json") w.Header().Set("Content-Type", "application/json")
r := v{"v0.0.1"} r := v{"v0.0.2"}
if err := json.NewEncoder(w).Encode(r); err != nil { if err := json.NewEncoder(w).Encode(r); err != nil {
log.Printf("json: %+v", err) log.Printf("json: %+v", err)
} }