Skip to content

feat: 实现了统一的登陆与用户信息获取 #13

feat: 实现了统一的登陆与用户信息获取

feat: 实现了统一的登陆与用户信息获取 #13

Re-run triggered January 18, 2025 01:36
Status Failure
Total duration 1m 0s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: oauth/common.go#L4
exported: exported const MeZjutURL should have comment (or a comment on this block) or be unexported (revive)
lint: oauth/common.go#L10
exported: exported const BaseUrl should have comment (or a comment on this block) or be unexported (revive)
lint: oauth/common.go#L16
G101: Potential hardcoded credentials (gosec)
lint: oauth/common.go#L20
exported: exported type UserInfo should have comment or be unexported (revive)
lint: oauth/oauthException/exception.go#L6
exported: exported var WrongAccount should have comment or be unexported (revive)
lint: oauth/oauthException/exception.go#L12
exported: exported type Error should have comment or be unexported (revive)
lint: oauth/sign.go#L14
exported: exported type RSAPublicKey should have comment or be unexported (revive)
lint: oauth/sign.go#L19
exported: exported function GetEncryptedPassword should have comment or be unexported (revive)
lint: oauth/sign.go#L20
unexported-naming: the symbol K is local, its name should start with a lowercase letter (revive)
lint: oauth/sign.go#L23
unhandled-error: Unhandled error in call to function fmt.Println (revive)
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636