Skip to content

refactor with libdns #1

refactor with libdns

refactor with libdns #1

Triggered via pull request October 23, 2024 15:52
@orviceorvice
synchronize #9
refactor/lib-dns
Status Failure
Total duration 33s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: config/config.go#L6
var-naming: var IpNotifyFormat should be IPNotifyFormat (revive)
lint: internal/config/config.go#L7
var-naming: don't use ALL_CAPS in Go names; use CamelCase (revive)
lint: internal/config/config.go#L11
var-naming: don't use ALL_CAPS in Go names; use CamelCase (revive)
lint: internal/config/config.go#L15
var-naming: don't use ALL_CAPS in Go names; use CamelCase (revive)
lint: notify/notify.go#L36
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: internal/ip/ip.go#L10
var-naming: const IpConfigCoAddr should be IPConfigCoAddr (revive)
lint: internal/ip/ip.go#L13
exported: type name will be used as ip.IPResponse by other packages, and that stutters; consider calling this Response (revive)
lint: internal/ip/ip.go#L17
exported: type name will be used as ip.IPGetter by other packages, and that stutters; consider calling this Getter (revive)
lint: dns/mu.go#L15
var-naming: struct field apiUrl should be apiURL (revive)
lint: dns/mu.go#L19
var-naming: func parameter apiUrl should be apiURL (revive)