This commit is contained in:
ZhuoQinghui 2024-10-30 18:26:33 +08:00
parent f20645d1d2
commit e559ca80ae

16
test/task_test.go Normal file
View File

@ -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))
}