Skip to content

Instantly share code, notes, and snippets.


a-know/router.go Secret

Created Oct 27, 2018
What would you like to do?
package main
import (
func init() {
r := chi.NewRouter()
r.Get("/heartbeat", handlers.HeartbeatHandler)
http.Handle("/", r)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment