fasten-onprem/backend/pkg/config/factory.go

10 lines
163 B
Go

package config
func Create() (Interface, error) {
config := new(configuration)
if err := config.Init(); err != nil {
return nil, err
}
return config, nil
}