Implement connstring handling #247

Open
lash wants to merge 27 commits from lash/purify-more into master
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
}