diff options
-rw-r--r-- | router.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/router.go b/router.go index 3985780..ce71df5 100644 --- a/router.go +++ b/router.go @@ -30,7 +30,7 @@ func (self *Router) routeIsKnown(route *Route) bool { func (self *Router) AddRoute(route *Route) error { if self.routeIsKnown(route) == true { - return errors.New(fmt.Sprintf("Can't add twice the same route. The route %s with the method %s is already added", route.Path, route.Method)) + return errors.New(fmt.Sprintf("The route %s with the method %s already exist.", route.Path, route.Method)) } route.init() |