mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
CLEANUP: Fix many golint/staticcheck issues
This commit is contained in:
@@ -452,6 +452,7 @@ func (recs Records) FQDNMap() (m map[string]bool) {
|
||||
return m
|
||||
}
|
||||
|
||||
// GetByType returns the records that match rtype typeName.
|
||||
func (recs Records) GetByType(typeName string) Records {
|
||||
results := Records{}
|
||||
for _, rec := range recs {
|
||||
|
Reference in New Issue
Block a user