dnscontrol/pkg/dnssort/result.go

12 lines
324 B
Go

package dnssort
import "github.com/StackExchange/dnscontrol/v4/pkg/dnsgraph"
// SortResult is the result of a sort function.
type SortResult[T dnsgraph.Graphable] struct {
// SortedRecords is the sorted records.
SortedRecords []T
// UnresolvedRecords is the records that could not be resolved.
UnresolvedRecords []T
}