From 68da6cf3ae499f20bd2d2a27273f9250626b1f78 Mon Sep 17 00:00:00 2001 From: Fu Diwei Date: Thu, 31 Oct 2024 20:03:04 +0800 Subject: [PATCH] fix: fix import cycle --- internal/domain/domains.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/internal/domain/domains.go b/internal/domain/domains.go index 706315a9..b679625f 100644 --- a/internal/domain/domains.go +++ b/internal/domain/domains.go @@ -3,8 +3,6 @@ package domain import ( "encoding/json" "strings" - - "github.com/usual2970/certimate/internal/domain" ) type ApplyConfig struct { @@ -135,7 +133,7 @@ func (dc *DeployConfig) GetConfigAsVariables() map[string]string { return rs } - kvs := make([]domain.KV, 0) + kvs := make([]KV, 0) bts, _ := json.Marshal(value) if err := json.Unmarshal(bts, &kvs); err != nil { return rs