添加DNS账号时自动读取DNS服务商下域名

This commit is contained in:
刘祥超
2021-08-19 14:26:34 +08:00
parent 70331805d7
commit df667c6ee6
18 changed files with 308 additions and 3 deletions

View File

@@ -12,6 +12,14 @@ import (
"testing"
)
func TestCloudFlareProvider_GetDomains(t *testing.T) {
provider, err := testCloudFlareProvider()
if err != nil {
t.Fatal(err)
}
t.Log(provider.GetDomains())
}
func TestCloudFlareProvider_GetRecords(t *testing.T) {
provider, err := testCloudFlareProvider()
if err != nil {