17 lines
334 B
Go
17 lines
334 B
Go
package user
|
|
|
|
import "github.com/Superdanda/hade/framework"
|
|
|
|
type UserService struct {
|
|
container framework.Container
|
|
}
|
|
|
|
func NewUserService(params ...interface{}) (interface{}, error) {
|
|
container := params[0].(framework.Container)
|
|
return &UserService{container: container}, nil
|
|
}
|
|
|
|
func (s *UserService) Foo() string {
|
|
return ""
|
|
}
|