chore: cleanup some code (#1069)

* chore

* modernize loop

* ddns: simpify Provider struct
This commit is contained in:
UUBulb authored and GitHub committed 2025-04-26 18:28:21 +08:00
1 parent afe483a831
commit 5c27259439
8 files changed
+12 -38

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ type DDNSProfile struct {
DomainsRaw string `json:"-"`
}
func (d DDNSProfile) TableName() string {
func (d *DDNSProfile) TableName() string {
return "ddns"
}