mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-02-25 08:02:58 +08:00
CHORE: Go fmt (#2095)
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
This commit is contained in:
parent
a381806615
commit
ab872cc13f
1 changed files with 9 additions and 7 deletions
|
@ -141,13 +141,15 @@ func ByRecord(existing models.Records, dc *models.DomainConfig, compFunc Compara
|
|||
// Example usage:
|
||||
//
|
||||
// msgs, changes, err := diff2.ByZone(foundRecords, dc, nil)
|
||||
// if err != nil {
|
||||
// return nil, err
|
||||
// }
|
||||
// if changes {
|
||||
// // Generate a "correction" that uploads the entire zone.
|
||||
// // (dc.Records are the new records for the zone).
|
||||
// }
|
||||
//
|
||||
// if err != nil {
|
||||
// return nil, err
|
||||
// }
|
||||
//
|
||||
// if changes {
|
||||
// // Generate a "correction" that uploads the entire zone.
|
||||
// // (dc.Records are the new records for the zone).
|
||||
// }
|
||||
//
|
||||
// Example providers include: BIND
|
||||
func ByZone(existing models.Records, dc *models.DomainConfig, compFunc ComparableFunc) ([]string, bool, error) {
|
||||
|
|
Loading…
Reference in a new issue