WIP add connection string parser

This commit is contained in:
lash 2025-01-04 08:40:43 +00:00
parent d950b10b50
commit dc1674ec55
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746

21
internal/storage/parse.go Normal file
View File

@ -0,0 +1,21 @@
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
}