This commit is contained in:
azw 2023-08-20 13:20:38 +08:00
parent fe2f4358ce
commit f7213bc8d7

View File

@ -6,13 +6,15 @@ import (
"strings"
)
type DBStyle int32
const (
GO_STYLE_DB = 1
JS_STYLE_DB = 2
GO_STYLE_DB DBStyle = iota
JS_STYLE_DB
)
type dbPool struct {
style int32
style DBStyle
dataSourceHash map[string]*q5.Mysql
}