1
0
mirror of https://github.com/taigrr/godns synced 2025-01-18 04:03:25 -08:00

refactor: fix code lint warnings

This commit is contained in:
Timothy
2020-08-10 14:39:56 +08:00
parent e94d99e25c
commit 1ddd1dfb8b
6 changed files with 24 additions and 18 deletions

View File

@@ -133,7 +133,7 @@ func (d *AliDNS) UpdateDomainRecord(r DomainRecord) error {
}
func (d *AliDNS) genRequestURL(parms map[string]string) string {
pArr := []string{}
var pArr []string
ps := map[string]string{}
for k, v := range publicParm {
ps[k] = v