fix structs with field name of 'Bytes'
(it conflict with a method of the same name that is generated for all such structs)
This commit is contained in:
@@ -76,7 +76,8 @@ func readAuthority(hostname, display string) (
|
||||
return "", nil, err
|
||||
}
|
||||
|
||||
addrmatch := (family == familyWild) || (family == familyLocal && addr == hostname)
|
||||
addrmatch := (family == familyWild) ||
|
||||
(family == familyLocal && addr == hostname)
|
||||
dispmatch := (disp == "") || (disp == display)
|
||||
|
||||
if addrmatch && dispmatch {
|
||||
|
||||
Reference in New Issue
Block a user