👔 up(str): optimize the ToByteSize() and GlobMatch() logic #210
Annotations
25 errors
|
|
|
|
|
|
|
|
|
|
|
[staticcheck] fsutil/finder/result.go#L22 <U1000>(https://staticcheck.io/docs/checks#U1000):
fsutil/finder/result.go#L22
func (*FindResults).append is unused
|
[staticcheck] internal/gendoc/main.go#L60 <U1000>(https://staticcheck.io/docs/checks#U1000):
internal/gendoc/main.go#L60
func genOptsSt.filePattern is unused
|
|
|
|
|
|
|
|
|
[staticcheck] strutil/check.go#L263 <S1017>(https://staticcheck.io/docs/checks#S1017):
strutil/check.go#L263
should replace this if statement with an unconditional strings.Replace
|
[staticcheck] strutil/check.go#L266 <S1017>(https://staticcheck.io/docs/checks#S1017):
strutil/check.go#L266
should replace this if statement with an unconditional strings.Replace
|
[staticcheck] strutil/check.go#L302 <S1017>(https://staticcheck.io/docs/checks#S1017):
strutil/check.go#L302
should replace this if statement with an unconditional strings.Replace
|
|