Implement connstring handling #247

Merged
lash merged 28 commits from lash/purify-more into master 2025-01-09 13:03:29 +01:00
Showing only changes of commit dc1674ec55 - Show all commits

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
}