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
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
Unused parameters in functions or methods should be replaced with _
(underscore) or removed.
Functions or methods with unused parameters can be a symptom of unfinished
refactoring or a bug. If an unused parameter is present, it should be named _
(underscore) to avoid raising this issue and better readability.
func abc(unused string) {
fmt.Println("Not using any passed params.")
}
func abc(_ string) {
fmt.Println("Not using any passed params.")
}
func abc() {
fmt.Println("Not using any passed params.")
}