refactor: 优化并整理代码 (#12) #14
Annotations
5 errors
middlewares/accesslog/builder.go#L122
S1012: should use `time.Since` instead of `time.Now().Sub` (gosimple)
|
middlewares/activelimit/redislimit/builder.go#L43
S1038: should use fmt.Printf instead of fmt.Println(fmt.Sprintf(...)) (but don't forget the newline) (gosimple)
|
middlewares/activelimit/locallimit/builder.go#L50
S1023: redundant `return` statement (gosimple)
|
middlewares/activelimit/redislimit/builder.go#L73
S1023: redundant `return` statement (gosimple)
|
|
The logs for this run have expired and are no longer available.
Loading