forked from grassrootseconomics/visedriver
Fmt
This commit is contained in:
parent
6749c632b0
commit
15ce29a1a4
@ -9,31 +9,31 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
logg = logging.NewVanilla().WithDomain("visedriver-config")
|
||||
defaultLanguage = "eng"
|
||||
languages []string
|
||||
DefaultLanguage string
|
||||
dbConn string
|
||||
dbConnMissing bool
|
||||
dbConnMode storage.DbMode
|
||||
stateDbConn string
|
||||
stateDbConnMode storage.DbMode
|
||||
resourceDbConn string
|
||||
resourceDbConnMode storage.DbMode
|
||||
userDbConn string
|
||||
userDbConnMode storage.DbMode
|
||||
Languages []string
|
||||
logg = logging.NewVanilla().WithDomain("visedriver-config")
|
||||
defaultLanguage = "eng"
|
||||
languages []string
|
||||
DefaultLanguage string
|
||||
dbConn string
|
||||
dbConnMissing bool
|
||||
dbConnMode storage.DbMode
|
||||
stateDbConn string
|
||||
stateDbConnMode storage.DbMode
|
||||
resourceDbConn string
|
||||
resourceDbConnMode storage.DbMode
|
||||
userDbConn string
|
||||
userDbConnMode storage.DbMode
|
||||
Languages []string
|
||||
)
|
||||
|
||||
type Override struct {
|
||||
DbConn *string
|
||||
DbConnMode storage.DbMode
|
||||
StateConn *string
|
||||
StateConnMode storage.DbMode
|
||||
ResourceConn *string
|
||||
ResourceConnMode storage.DbMode
|
||||
UserConn *string
|
||||
UserConnMode storage.DbMode
|
||||
DbConn *string
|
||||
DbConnMode storage.DbMode
|
||||
StateConn *string
|
||||
StateConnMode storage.DbMode
|
||||
ResourceConn *string
|
||||
ResourceConnMode storage.DbMode
|
||||
UserConn *string
|
||||
UserConnMode storage.DbMode
|
||||
}
|
||||
|
||||
func setLanguage() error {
|
||||
|
@ -29,8 +29,8 @@ const (
|
||||
)
|
||||
|
||||
var (
|
||||
DbModeDebug = []string{"ANY", "BIN", "TXT"}
|
||||
DbTypeDebug = []string{"NONE", "MEM", "FS", "GDBM", "POSTGRES"}
|
||||
DbModeDebug = []string{"ANY", "BIN", "TXT"}
|
||||
DbTypeDebug = []string{"NONE", "MEM", "FS", "GDBM", "POSTGRES"}
|
||||
DbStoreDebug = []string{"STATE", "RESOURCE", "USER"}
|
||||
)
|
||||
|
||||
@ -68,7 +68,7 @@ type ConnData struct {
|
||||
typ int
|
||||
str string
|
||||
domain string
|
||||
mode DbMode
|
||||
mode DbMode
|
||||
}
|
||||
|
||||
func (cd *ConnData) DbType() int {
|
||||
|
Loading…
Reference in New Issue
Block a user