gengitkan/internal/repository/provider.go

10 lines
216 B
Go
Raw Permalink Normal View History

2019-12-01 22:12:13 +01:00
package repository
import "gitlab.com/wpetit/goweb/service"
func ServiceProvider(repository *Repository) service.Provider {
return func(ctn *service.Container) (interface{}, error) {
return repository, nil
}
}