Maintenance: underscore for unused matcher args

This commit is contained in:
Quentin McGaw
2021-03-15 03:26:08 +00:00
parent 1eaa495e66
commit 3ad9168576
16 changed files with 16 additions and 16 deletions

View File

@@ -25,7 +25,7 @@ type ddnss struct {
}
func NewDdnss(data json.RawMessage, domain, host string, ipVersion models.IPVersion,
matcher regex.Matcher) (s Settings, err error) {
_ regex.Matcher) (s Settings, err error) {
extraSettings := struct {
Username string `json:"username"`
Password string `json:"password"`

View File

@@ -22,7 +22,7 @@ type digitalOcean struct {
}
func NewDigitalOcean(data json.RawMessage, domain, host string, ipVersion models.IPVersion,
matcher regex.Matcher) (s Settings, err error) {
_ regex.Matcher) (s Settings, err error) {
extraSettings := struct {
Token string `json:"token"`
}{}

View File

@@ -22,7 +22,7 @@ type dnspod struct {
}
func NewDNSPod(data json.RawMessage, domain, host string, ipVersion models.IPVersion,
matcher regex.Matcher) (s Settings, err error) {
_ regex.Matcher) (s Settings, err error) {
extraSettings := struct {
Token string `json:"token"`
}{}

View File

@@ -24,7 +24,7 @@ type donDominio struct {
}
func NewDonDominio(data json.RawMessage, domain, host string, ipVersion models.IPVersion,
matcher regex.Matcher) (s Settings, err error) {
_ regex.Matcher) (s Settings, err error) {
extraSettings := struct {
Username string `json:"username"`
Password string `json:"password"`

View File

@@ -24,7 +24,7 @@ type dyn struct {
}
func NewDyn(data json.RawMessage, domain, host string, ipVersion models.IPVersion,
matcher regex.Matcher) (s Settings, err error) {
_ regex.Matcher) (s Settings, err error) {
extraSettings := struct {
Username string `json:"username"`
Password string `json:"password"`

View File

@@ -21,7 +21,7 @@ type dynV6 struct {
}
func NewDynV6(data json.RawMessage, domain, host string, ipVersion models.IPVersion,
matcher regex.Matcher) (s Settings, err error) {
_ regex.Matcher) (s Settings, err error) {
extraSettings := struct {
Token string `json:"token"`
UseProviderIP bool `json:"provider_ip"`

View File

@@ -23,7 +23,7 @@ type freedns struct {
}
func NewFreedns(data json.RawMessage, domain, host string, ipVersion models.IPVersion,
matcher regex.Matcher) (s Settings, err error) {
_ regex.Matcher) (s Settings, err error) {
extraSettings := struct {
Token string `json:"token"`
}{}

View File

@@ -23,7 +23,7 @@ type gandi struct {
}
func NewGandi(data json.RawMessage, domain, host string, ipVersion models.IPVersion,
matcher regex.Matcher) (s Settings, err error) {
_ regex.Matcher) (s Settings, err error) {
extraSettings := struct {
Key string `json:"key"`
TTL int `json:"ttl"`

View File

@@ -26,7 +26,7 @@ type google struct {
}
func NewGoogle(data json.RawMessage, domain, host string, ipVersion models.IPVersion,
matcher regex.Matcher) (s Settings, err error) {
_ regex.Matcher) (s Settings, err error) {
extraSettings := struct {
Username string `json:"username"`
Password string `json:"password"`

View File

@@ -25,7 +25,7 @@ type he struct {
}
func NewHe(data json.RawMessage, domain, host string, ipVersion models.IPVersion,
matcher regex.Matcher) (s Settings, err error) {
_ regex.Matcher) (s Settings, err error) {
extraSettings := struct {
Password string `json:"password"`
UseProviderIP bool `json:"provider_ip"`

View File

@@ -25,7 +25,7 @@ type infomaniak struct {
}
func NewInfomaniak(data json.RawMessage, domain, host string, ipVersion models.IPVersion,
matcher regex.Matcher) (s Settings, err error) {
_ regex.Matcher) (s Settings, err error) {
extraSettings := struct {
Username string `json:"username"`
Password string `json:"password"`

View File

@@ -26,7 +26,7 @@ type noip struct {
}
func NewNoip(data json.RawMessage, domain, host string, ipVersion models.IPVersion,
matcher regex.Matcher) (s Settings, err error) {
_ regex.Matcher) (s Settings, err error) {
extraSettings := struct {
Username string `json:"username"`
Password string `json:"password"`

View File

@@ -24,7 +24,7 @@ type opendns struct {
}
func NewOpendns(data json.RawMessage, domain, host string, ipVersion models.IPVersion,
matcher regex.Matcher) (s Settings, err error) {
_ regex.Matcher) (s Settings, err error) {
extraSettings := struct {
Username string `json:"username"`
Password string `json:"password"`

View File

@@ -30,7 +30,7 @@ type ovh struct {
}
func NewOVH(data json.RawMessage, domain, host string, ipVersion models.IPVersion,
matcher regex.Matcher) (s Settings, err error) {
_ regex.Matcher) (s Settings, err error) {
extraSettings := struct {
Username string `json:"username"`
Password string `json:"password"`

View File

@@ -24,7 +24,7 @@ type selfhostde struct {
}
func NewSelfhostde(data json.RawMessage, domain, host string, ipVersion models.IPVersion,
matcher regex.Matcher) (s Settings, err error) {
_ regex.Matcher) (s Settings, err error) {
extraSettings := struct {
Username string `json:"username"`
Password string `json:"password"`

View File

@@ -23,7 +23,7 @@ type strato struct {
}
func NewStrato(data json.RawMessage, domain, host string, ipVersion models.IPVersion,
matcher regex.Matcher) (s Settings, err error) {
_ regex.Matcher) (s Settings, err error) {
extraSettings := struct {
Password string `json:"password"`
UseProviderIP bool `json:"provider_ip"`