From ab872cc13fa8c0c42694a6e6beee4f5f8c60f00d Mon Sep 17 00:00:00 2001 From: Jeffrey Cafferata Date: Sun, 26 Feb 2023 04:20:12 +0100 Subject: [PATCH] CHORE: Go fmt (#2095) Co-authored-by: Tom Limoncelli --- pkg/diff2/diff2.go | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/pkg/diff2/diff2.go b/pkg/diff2/diff2.go index 382300490..4a4b2c84b 100644 --- a/pkg/diff2/diff2.go +++ b/pkg/diff2/diff2.go @@ -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) {