Log out req path

This commit is contained in:
2020-09-07 16:12:54 -07:00
parent 717a1d9130
commit ee2c5be3e6

View File

@ -109,7 +109,7 @@ func (r *Router) Handler(req *http.Request) (h http.Handler, pattern string) {
root := r.lookup root := r.lookup
curr := root curr := root
fmt.Print("The route handler has been called.") fmt.Printf("The route handler has been called. %s", req.URL.Path)
segments := strings.Split(path, "/") segments := strings.Split(path, "/")
keys := setupKeys(segments) keys := setupKeys(segments)