重新整理思路2

This commit is contained in:
qwe
2026-05-21 07:39:35 +08:00
parent f62fd46939
commit 5ceca47d39
11 changed files with 6 additions and 132 deletions

View File

@@ -21,9 +21,9 @@ type Cfg struct {
port string
passwd string
connectTimeout int
ssh bool
sshPoint string
}
ssh struct {
sshPoint map[string]struct {
host string
port string
user string
@@ -33,10 +33,6 @@ type Cfg struct {
}
}
func (c *Cfg) getDbParam() {
}
func GetCfg() *Cfg {
pwd, err := os.Getwd()
utils.PaincEro(err, "获取当前工作目录失败")