Left 'post' instead of 'user'
This commit is contained in:
parent
205a932e2a
commit
6fe6d5d189
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ func (s *usersService) List(opt *UserListOptions) ([]*User, error) {
|
||||||
type MockUsersService struct {
|
type MockUsersService struct {
|
||||||
Get_ func(id int64) (*User, error)
|
Get_ func(id int64) (*User, error)
|
||||||
List_ func(opt *UserListOptions) ([]*User, error)
|
List_ func(opt *UserListOptions) ([]*User, error)
|
||||||
Create_ func(post *User) (bool, error)
|
Create_ func(user *User) (bool, error)
|
||||||
}
|
}
|
||||||
|
|
||||||
var _ UsersService = &MockUsersService{}
|
var _ UsersService = &MockUsersService{}
|
||||||
|
|
Reference in a new issue