Skip to content

chore: add ci-lint

chore: add ci-lint #4

Triggered via pull request August 31, 2023 14:44
Status Failure
Total duration 17s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: pkg/cloudflare/cloudflare.go#L9
exported: exported type CloudflareAPI should have comment or be unexported (revive)
lint: pkg/cloudflare/dns.go#L13
exported: exported type DNSRequestBody should have comment or be unexported (revive)
lint: pkg/cloudflare/errors.go#L6
exported: comment on exported var ErrNoRouteMatches should be of the form "ErrNoRouteMatches ..." (revive)
lint: pkg/cloudflare/dns.go#L23
exported: exported method CloudflareAPI.CreateDNSRecord should have comment or be unexported (revive)
lint: pkg/cloudflare/dns.go#L43
exported: exported method CloudflareAPI.UpdateDNSRecord should have comment or be unexported (revive)
lint: pkg/cloudflare/dns.go#L20
var-naming: struct field Ttl should be TTL (revive)
lint: internal/update_dns/update_dns.go#L6
File is not `goimports`-ed (goimports)
lint: internal/update_dns/update_dns.go#L17
exported: exported type UpdateDns should have comment or be unexported (revive)
lint: internal/update_dns/update_dns.go#L23
exported: exported function NewUpdateDns should have comment or be unexported (revive)
lint: internal/update_dns/update_dns.go#L31
exported: exported method UpdateDns.Run should have comment or be unexported (revive)