446}
447
448// Group appends a prefix to registered routes
449func (gb *gearbox) Group(prefix string, routes []*Route) []*Route {450 for _, route := range routes {
451 route.Path = prefix + route.Path
452 }
336// customLogger Customized logger used to filter logging messages
337type customLogger struct{}
338
339func (dl *customLogger) Printf(format string, args ...interface{}) {340}
341
342// newHTTPServer returns a new instance of fasthttp server
Methods with unused receivers can be a symptom of unfinished refactoring or a bug. To keep the same method signature, omit the receiver name or '_' as it is unused.
func (f *Unix) Name() string {
return "unix"
}
func (_ *Unix) Name() string {
return "unix"
}
func (*Unix) Name() string {
return "unix"
}