Skip to content

add:封装niuniu的数据库操作 #62

add:封装niuniu的数据库操作

add:封装niuniu的数据库操作 #62

Re-run triggered December 14, 2024 15:42
Status Failure
Total duration 1m 8s
Artifacts

pull.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

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