v1.6.0
版本发布时间: 2017-11-07 11:50:40
gorilla/mux最新发布版本:v1.8.1(2023-11-05 10:14:50)
v1.6.0 major changes:
-
RouteMatch.MatchErr
is now set toErrNotFound
when the route does not match. - Go 1.5.x and below are no longer supported
- New methods for fetching the query template have been added in
Route.GetQueriesRegexp
andRoute.GetQueriesTemplates
- Bug fixes and documentation updates, detailed below.
CHANGELOG 7f08801 MatchErr is set to ErrNotFound if NotFoundHandler is used (#311) 9f48112 [docs] Document router.Match (#313) bc452d9 [build] Allow tip failures (#312) 7625a85 .travis.yml: Remove versions < go1.5 from build matrix c9183aa use req.URL.EscapedPath() instead of getPath(req) (#306) 10490f5 GetQueryTemplates and GetQueryRegexp extraction (#304) 9bd9ff2 Added 1.9 build step (#303) bdd5a5a Fix WriteHeader in TestA301ResponseWriter. (#301) 3f19343 [docs] Document evaluation order for routes (#297)