10 lines
216 B
Go
10 lines
216 B
Go
package repository
|
|
|
|
import "gitlab.com/wpetit/goweb/service"
|
|
|
|
func ServiceProvider(repository *Repository) service.Provider {
|
|
return func(ctn *service.Container) (interface{}, error) {
|
|
return repository, nil
|
|
}
|
|
}
|