mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-05 00:50:21 +00:00
chore: cleanup some code (#1069)
* chore * modernize loop * ddns: simpify Provider struct
This commit is contained in:
1 parent
65f728e5b1
commit
4871211f93
8 files changed
+12
-38
No files matched your search
+1
-1
@@ -35,7 +35,7 @@ type DDNSProfile struct {
|
||||
DomainsRaw string `json:"-"`
|
||||
}
|
||||
|
||||
func (d DDNSProfile) TableName() string {
|
||||
func (d *DDNSProfile) TableName() string {
|
||||
return "ddns"
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user