12 lines
278 B
Go
12 lines
278 B
Go
package db
|
|
|
|
import (
|
|
"git.haelnorr.com/h/golib/ezconf"
|
|
)
|
|
|
|
// NewEZConfIntegration creates a new EZConf integration helper
|
|
func NewEZConfIntegration() *ezconf.Integration {
|
|
return ezconf.NewIntegration("db", "DB", &Config{},
|
|
func() (any, error) { return ConfigFromEnv() })
|
|
}
|