mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-10-08 21:06:02 +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:
|
// Example usage:
|
||||||
//
|
//
|
||||||
// msgs, changes, err := diff2.ByZone(foundRecords, dc, nil)
|
// msgs, changes, err := diff2.ByZone(foundRecords, dc, nil)
|
||||||
// if err != nil {
|
//
|
||||||
// return nil, err
|
// 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 changes {
|
||||||
// }
|
// // Generate a "correction" that uploads the entire zone.
|
||||||
|
// // (dc.Records are the new records for the zone).
|
||||||
|
// }
|
||||||
//
|
//
|
||||||
// Example providers include: BIND
|
// Example providers include: BIND
|
||||||
func ByZone(existing models.Records, dc *models.DomainConfig, compFunc ComparableFunc) ([]string, bool, error) {
|
func ByZone(existing models.Records, dc *models.DomainConfig, compFunc ComparableFunc) ([]string, bool, error) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue