Files
oslstats/pkg/slapshotapi/ezconf.go
2026-03-05 18:32:55 +11:00

10 lines
300 B
Go

package slapshotapi
import "git.haelnorr.com/h/golib/ezconf"
// NewEZConfIntegration creates a new EZConf integration helper
func NewEZConfIntegration() *ezconf.Integration {
return ezconf.NewIntegration("slapshotapi", "SlapshotAPI", &Config{},
func() (any, error) { return ConfigFromEnv() })
}