nali/internal/db/cache.go
zu1k c0643f7731 feat: Database from config
Signed-off-by: zu1k <i@zu1k.com>
2022-05-09 14:48:28 +08:00

15 lines
250 B
Go

package db
import "github.com/zu1k/nali/pkg/dbif"
var (
dbNameCache = make(map[string]dbif.DB)
dbTypeCache = make(map[dbif.QueryType]dbif.DB)
queryCache = make(map[string]string)
)
var (
NameDBMap = make(NameMap)
TypeDBMap = make(TypeMap)
)