Browse Source

Fix typo in error message

Carl Jackson 12 years ago
parent
commit
f45ad521d4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      web/router.go

+ 1
- 1
web/router.go View File

@ -129,7 +129,7 @@ func parseHandler(h interface{}) Handler {
log.Fatalf("Unknown handler type %v. Expected a web.Handler, "+ log.Fatalf("Unknown handler type %v. Expected a web.Handler, "+
"a http.Handler, or a function with signature func(C, "+ "a http.Handler, or a function with signature func(C, "+
"http.ResponseWriter, *http.Request) or "+ "http.ResponseWriter, *http.Request) or "+
"func(http.ResponseWriter, http.Request)", h)
"func(http.ResponseWriter, *http.Request)", h)
} }
panic("log.Fatalf does not return") panic("log.Fatalf does not return")
} }


Loading…
Cancel
Save