visedriver/internal/storage/parse.go

22 lines
218 B
Go
Raw Normal View History

2025-01-04 09:40:43 +01:00
package storage
const (
DBTYPE_MEM = iota
DBTYPE_GDBM
DBTYPE_POSTGRES
)
type connData struct {
typ int
str string
}
func toConnData(s string) connData {
var o connData
if s == "" {
return o
}
return o
}