Skip to content

feat: use embed pg for test, go-cmp to check db time #22

feat: use embed pg for test, go-cmp to check db time

feat: use embed pg for test, go-cmp to check db time #22

Triggered via pull request November 29, 2023 11:37
Status Failure
Total duration 2m 54s
Artifacts

basic_check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors
check: models/user_test.go#L44
Error return value of `migrations.MigrateDatabase` is not checked (errcheck)
check: models/user.go#L12
var `_user` is unused (unused)
check: models/user_test.go#L15
ST1019: package "github.com/jiaozifs/jiaozifs/models/migrations" is being imported more than once (stylecheck)
check: models/user_test.go#L27
ST1019(related information): other import of "github.com/jiaozifs/jiaozifs/models/migrations" (stylecheck)
check
Process completed with exit code 1.