Versions in this module Expand all Collapse all v0 v0.0.2 Sep 10, 2024 v0.0.1 Sep 6, 2024 Changes in this version + func DialDSN(dsn string) (db *sql.DB, dbname string, err error) + type Config struct + ConfigFile string + DSN string + EnvPrefix string + type Interface struct + func New(str interface{}) Interface + func (s Interface) Combine(config Config) error + func (s Interface) SetFromDB(database *sql.DB, dbname string) error + func (s Interface) SetFromEnv(prefix string) error + func (s Interface) SetFromFile(fileName string) error