Left 'post' instead of 'user'

This commit is contained in:
Matthew Dillon 2014-10-13 15:34:08 -08:00
parent 205a932e2a
commit 6fe6d5d189

View file

@ -108,7 +108,7 @@ func (s *usersService) List(opt *UserListOptions) ([]*User, error) {
type MockUsersService struct {
Get_ func(id int64) (*User, error)
List_ func(opt *UserListOptions) ([]*User, error)
Create_ func(post *User) (bool, error)
Create_ func(user *User) (bool, error)
}
var _ UsersService = &MockUsersService{}