gengitkan/internal/config/provider.go

10 lines
200 B
Go
Raw Normal View History

2019-11-28 11:50:51 +01:00
package config
import "gitlab.com/wpetit/goweb/service"
func ServiceProvider(config *Config) service.Provider {
return func(ctn *service.Container) (interface{}, error) {
return config, nil
}
}