mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
CHORE: linting (#2098)
This commit is contained in:
@@ -6,10 +6,12 @@ import "github.com/StackExchange/dnscontrol/v3/models"
|
||||
// a group of records.
|
||||
//
|
||||
|
||||
// RecordDB is a container of many model.RecordConfig
|
||||
type RecordDB = struct {
|
||||
labelAndTypeMap map[models.RecordKey]struct{}
|
||||
}
|
||||
|
||||
// NewFromRecords creates a RecordDB from a list of model.RecordConfig.
|
||||
func NewFromRecords(recs models.Records) *RecordDB {
|
||||
result := &RecordDB{}
|
||||
|
||||
|
Reference in New Issue
Block a user