chore: add warning info, clean dependency and add expired token generate test #433
Annotations
4 errors and 1 warning
golangci-lint:
api/mw/token_test.go#L51
S1038: should use t.Errorf(...) instead of t.Error(fmt.Sprintf(...)) (gosimple)
|
golangci-lint:
api/mw/token_test.go#L56
S1038: should use t.Errorf(...) instead of t.Error(fmt.Sprintf(...)) (gosimple)
|
golangci-lint:
api/mw/token_test.go#L59
S1038: should use fmt.Printf instead of fmt.Println(fmt.Sprintf(...)) (but don't forget the newline) (gosimple)
|
golangci-lint
issues found
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading