diff --git a/test/task_test.go b/test/task_test.go new file mode 100644 index 0000000..0aa11da --- /dev/null +++ b/test/task_test.go @@ -0,0 +1,16 @@ +package test + +import ( + "acme-mana/src" + "log" + "path" + "testing" +) + +func TestA(t *testing.T) { + domain := src.GetAppConfig().Domains[0] + name := domain.Name + dir := src.GetAppConfig().CertDir + certDir := path.Join(dir, name) + log.Println(src.ValidExist(certDir, domain)) +}