gofmt cleanups
* Create codeql-config.yml
* Update codeql-analysis.yml
Add config to exclude certain files
* Run gofmt on a few files as reported by goreportcard.com
@@ -189,7 +189,7 @@ func fromRecordConfig(rc *models.RecordConfig) *recordRequestData {
func systemNameServerToRecordConfig(domain string, nameServer string) *models.RecordConfig {
// DNS Made Easy does not allow the system name servers to be edited, and said records appear to always have a fixed TTL of 86400.
- const fixedNameServerRecordTTL = 86400;
+ const fixedNameServerRecordTTL = 86400
target := nameServer + "."
return toRecordConfig(domain, &recordResponseDataEntry{Type: "NS", Value: target, TTL: fixedNameServerRecordTTL})
