Referral program #2753
Annotations
9 errors and 1 warning
golangci-lint:
api/server/handlers/billing/create.go#L74
Error return value of `telemetry.Error` is not checked (errcheck)
|
golangci-lint:
api/types/billing_metronome.go#L162
exported: exported type PricingUnit should have comment or be unexported (revive)
|
golangci-lint:
internal/repository/gorm/referrals.go#L52
exported: comment on exported method ReferralRepository.GetReferralByReferredID should be of the form "GetReferralByReferredID ..." (revive)
|
golangci-lint:
internal/repository/gorm/referrals.go#L61
exported: exported method ReferralRepository.UpdateReferral should have comment or be unexported (revive)
|
golangci-lint:
internal/repository/gorm/repository.go#L297
exported: exported method GormRepository.Referral should have comment or be unexported (revive)
|
golangci-lint:
internal/billing/metronome.go#L26
const `referralRewardRequirement` is unused (unused)
|
golangci-lint:
internal/billing/metronome.go#L29
const `defaultRewardAmountCents` is unused (unused)
|
golangci-lint:
internal/billing/metronome.go#L32
const `defaultPaidAmountCents` is unused (unused)
|
golangci-lint
issues found
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache/restore@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading