add:封装niuniu的数据库操作 #62
Annotations
10 errors and 2 warnings
golangci-lint:
niu/main.go#L1
package-comments: should have a package comment (revive)
|
golangci-lint:
niu/main.go#L19
exported: exported var ErrNoBoys should have comment or be unexported (revive)
|
golangci-lint:
niu/main.go#L59
exported: exported function GetWordNiuNiu should have comment or be unexported (revive)
|
golangci-lint:
niu/main.go#L67
exported: exported function GetRankingInfo should have comment or be unexported (revive)
|
golangci-lint:
niu/models.go#L15
exported: exported var DaJiaoProps should have comment or be unexported (revive)
|
golangci-lint:
niu/models.go#L42
exported: exported type AuctionInfo should have comment or be unexported (revive)
|
golangci-lint:
niu/models.go#L49
exported: exported type BaseInfo should have comment or be unexported (revive)
|
golangci-lint:
niu/models.go#L54
exported: exported type BaseInfos should have comment or be unexported (revive)
|
golangci-lint:
niu/models.go#L44
var-naming: struct field UserId should be UserID (revive)
|
golangci-lint:
niu/models.go#L198
increment-decrement: should replace *itemCount -= 1 with *itemCount-- (revive)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Set up Go
Restore cache failed: Dependencies file is not found in /home/runner/work/AnimeAPI/AnimeAPI. Supported file pattern: go.sum
|
Loading