func ServicesHandler(router *pat.Router, w http.ResponseWriter, req *http.Request) { url, _ := router.GetRoute("services").URL() fmt.Fprintf(w, "Services List Page! Go -> %s", url) }
func HomeHandler(router *pat.Router, w http.ResponseWriter, req *http.Request) { url, _ := router.GetRoute("service").URL("service_name", "trolling-and-molling") fmt.Fprintf(w, "Home handler! %s", url) }