chore: add ci-lint #4
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)
|