From 9148477cfd68c2ff962a03bcc6059bebaf2fa07a Mon Sep 17 00:00:00 2001 From: zhibinr Date: Tue, 20 Jan 2015 19:34:57 +0800 Subject: [PATCH] miss a "s" in the URL --- example/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/main.go b/example/main.go index 8d6b634..9ea2b0f 100644 --- a/example/main.go +++ b/example/main.go @@ -131,7 +131,7 @@ func GetUser(c web.C, w http.ResponseWriter, r *http.Request) { } } -// GetGreet finds a particular greet by ID (GET "/greet/\d+"). Does no bounds +// GetGreet finds a particular greet by ID (GET "/greets/\d+"). Does no bounds // checking, so will probably panic. func GetGreet(c web.C, w http.ResponseWriter, r *http.Request) { id, err := strconv.Atoi(c.URLParams["id"])