Skip to content

week 3 layers

week 3 layers #8

Triggered via pull request November 6, 2023 15:08
@aywanaywan
synchronize #6
w3-layers
Status Success
Total duration 39s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

libs.yaml

on: pull_request
Matrix: lint
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

1 error and 16 warnings
lint (shared/lib/db): shared/lib/db/client.go#L124
SA4006: this value of `tx` is never used (staticcheck)
lint (shared/lib/logger): shared/lib/logger/logger.go#L9
exported: exported type Mode should have comment or be unexported (revive)
lint (shared/lib/logger): shared/lib/logger/logger.go#L49
exported: exported function WithPart should have comment or be unexported (revive)
lint (shared/lib/logger): shared/lib/logger/logger.go#L57
exported: exported function CtxWithLog should have comment or be unexported (revive)
lint (shared/lib/logger): shared/lib/logger/logger.go#L61
exported: exported function CtxLog should have comment or be unexported (revive)
lint (shared/lib/logger): shared/lib/logger/logger.go#L69
exported: exported function MustCtxLog should have comment or be unexported (revive)
lint (shared/lib/logger): shared/lib/logger/logger.go#L77
exported: exported function CtxLogDef should have comment or be unexported (revive)
lint (shared/lib/db): shared/lib/db/utils.go#L14
exported: exported const TxKey should have comment (or a comment on this block) or be unexported (revive)
lint (shared/lib/db): shared/lib/db/utils.go#L17
exported: exported function MakeContextTx should have comment or be unexported (revive)
lint (shared/lib/db): shared/lib/db/utils.go#L31
exported: exported type Sqlizer should have comment or be unexported (revive)
lint (shared/lib/db): shared/lib/db/utils.go#L35
exported: exported function BuildQuery should have comment or be unexported (revive)
lint (shared/lib/db): shared/lib/db/client.go#L17
exported: exported type PgClient should have comment or be unexported (revive)
lint (shared/lib/db): shared/lib/db/client.go#L23
exported: exported function NewDB should have comment or be unexported (revive)
lint (shared/lib/db): shared/lib/db/client.go#L27
exported: exported method PgClient.Start should have comment or be unexported (revive)
lint (shared/lib/db): shared/lib/db/client.go#L66
exported: exported method PgClient.ScanOneContext should have comment or be unexported (revive)
lint (shared/lib/db): shared/lib/db/client.go#L75
exported: exported method PgClient.ScanAllContext should have comment or be unexported (revive)
lint (shared/lib/db): shared/lib/db/client.go#L84
exported: exported method PgClient.ExecContext should have comment or be unexported (revive)