fix interface{} in comments

This commit is contained in:
Thomas Limoncelli 2025-12-09 13:26:41 -05:00
parent 670356140b
commit 8bd78a65fc
No known key found for this signature in database
4 changed files with 4 additions and 5 deletions

View file

@ -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,
},
},
}

View file

@ -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...)
// }

View file

@ -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"`

View file

@ -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.