func main() { router := dapper.NewRouter() router.Get("stream", StreamHandler) http.ListenAndServe(":4000", router) }
func main() { router := dapper.NewRouter() router.Get("(?P<filename>.*)/info/refs", Handler) http.ListenAndServe(":4000", router) }
func main() { router := dapper.NewRouter() router.Root(HomeHandler) router.Get("hello", OtherHandler) http.ListenAndServe(":4000", router) }