diff --git a/models/record_test.go b/models/record_test.go index 53fae9c9d..841f18fa3 100644 --- a/models/record_test.go +++ b/models/record_test.go @@ -136,7 +136,7 @@ func TestRecordConfig_Copy(t *testing.T) { TlsaMatchingType: 3, R53Alias: map[string]string{"a": "eh", "b": "bee"}, AzureAlias: map[string]string{"az": "az", "ure": "your"}, - // Original interface{}, + // Original any, }, want: &RecordConfig{ Type: "type", @@ -174,7 +174,7 @@ func TestRecordConfig_Copy(t *testing.T) { TlsaMatchingType: 3, R53Alias: map[string]string{"a": "eh", "b": "bee"}, AzureAlias: map[string]string{"az": "az", "ure": "your"}, - // Original interface{}, + // Original any, }, }, } diff --git a/pkg/printer/printer.go b/pkg/printer/printer.go index 791a97662..399b82e0f 100644 --- a/pkg/printer/printer.go +++ b/pkg/printer/printer.go @@ -56,7 +56,7 @@ func Warnf(fmt string, args ...any) { } // Errorf is called to print/format an error. -// func Errorf(fmt string, args ...interface{}) { +// func Errorf(fmt string, args ...any) { // DefaultPrinter.Errorf(fmt, args...) // } diff --git a/providers/cscglobal/api.go b/providers/cscglobal/api.go index 52ad5a2ec..6f07d8bb0 100644 --- a/providers/cscglobal/api.go +++ b/providers/cscglobal/api.go @@ -279,7 +279,7 @@ type domainsResult struct { // BusinessUnit string `json:"businessUnit"` // BrandName string `json:"brandName"` // IdnReferenceName string `json:"idnReferenceName"` - // CustomFields []interface{} `json:"customFields"` + // CustomFields any `json:"customFields"` // Account struct { // AccountNumber string `json:"accountNumber"` // AccountName string `json:"accountName"` diff --git a/providers/loopia/types.go b/providers/loopia/types.go index 5caa3f6cd..442cf833e 100644 --- a/providers/loopia/types.go +++ b/providers/loopia/types.go @@ -109,7 +109,6 @@ type zRec struct { type zoneRecord struct { XMLName xml.Name `xml:"struct"` Properties []Property `xml:"member"` - // Properties map[string]interface{} } // zoneRecordsResponse decodes the API zoneRecords call.