Skip to content

Instantly share code, notes, and snippets.

@a-know
Created Oct 27, 2018
Embed
What would you like to do?
package main
import (
"net/http"
"github.com/go-chi/chi"
+ "google.golang.org/appengine"
)
func main() {
r := chi.NewRouter()
r.Get("/heartbeat", handlers.HeartbeatHandler)
http.Handle("/", r)
+ appengine.Main()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment