route_info.go
func (ri *RouteInfo) Alias(aliases ...string) *RouteInfo {
	ri.Aliases = append(ri.Aliases, aliases...)
	for _, a := range aliases {
		ri.App.router.Handle(a, ri).Methods(ri.Method)
	}
	return ri
}
func (ri *RouteInfo) Alias(aliases ...string) *RouteInfo {
	ri.Aliases = append(ri.Aliases, aliases...)
	for _, a := range aliases {
		ri.App.router.Handle(a, ri).Methods(ri.Method)
	}
	return ri
}
func ( ri * RouteInfo ) Alias ( aliases ... string ) * RouteInfo { ri . Aliases = append ( ri . Aliases , aliases ... ) for _ , a := range aliases { ri . App . router . Handle ( a , ri ) . Methods ( ri . Method ) } return ri }
// Alias path patterns to the this route. This is not the
// same as a redirect.
Alias path patterns to the this route . This is not the same as a redirect .