Versions in this module Expand all Collapse all v0 v0.0.2 Jul 1, 2019 Changes in this version + type FakeRepository struct + AddFollowRecordStub func(context.Context, string, string) error + AddPostStub func(context.Context, string, []byte) error + AddUserStub func(context.Context, []byte) error + AssertCredentialsStub func(context.Context, []byte, []byte) error + DeleteFollowRecordStub func(context.Context, string, string) error + GetFollowersStub func(context.Context, string) (models.UserSlice, error) + GetFollowingStub func(context.Context, string) (models.UserSlice, error) + GetTargetsPostsStub func(context.Context, string) (models.PostSlice, error) + GetUserByUsernameStub func(context.Context, string) (*models.User, error) + func (fake *FakeRepository) AddFollowRecord(arg1 context.Context, arg2 string, arg3 string) error + func (fake *FakeRepository) AddFollowRecordArgsForCall(i int) (context.Context, string, string) + func (fake *FakeRepository) AddFollowRecordCallCount() int + func (fake *FakeRepository) AddFollowRecordCalls(stub func(context.Context, string, string) error) + func (fake *FakeRepository) AddFollowRecordReturns(result1 error) + func (fake *FakeRepository) AddFollowRecordReturnsOnCall(i int, result1 error) + func (fake *FakeRepository) AddPost(arg1 context.Context, arg2 string, arg3 []byte) error + func (fake *FakeRepository) AddPostArgsForCall(i int) (context.Context, string, []byte) + func (fake *FakeRepository) AddPostCallCount() int + func (fake *FakeRepository) AddPostCalls(stub func(context.Context, string, []byte) error) + func (fake *FakeRepository) AddPostReturns(result1 error) + func (fake *FakeRepository) AddPostReturnsOnCall(i int, result1 error) + func (fake *FakeRepository) AddUser(arg1 context.Context, arg2 []byte) error + func (fake *FakeRepository) AddUserArgsForCall(i int) (context.Context, []byte) + func (fake *FakeRepository) AddUserCallCount() int + func (fake *FakeRepository) AddUserCalls(stub func(context.Context, []byte) error) + func (fake *FakeRepository) AddUserReturns(result1 error) + func (fake *FakeRepository) AddUserReturnsOnCall(i int, result1 error) + func (fake *FakeRepository) AssertCredentials(arg1 context.Context, arg2 []byte, arg3 []byte) error + func (fake *FakeRepository) AssertCredentialsArgsForCall(i int) (context.Context, []byte, []byte) + func (fake *FakeRepository) AssertCredentialsCallCount() int + func (fake *FakeRepository) AssertCredentialsCalls(stub func(context.Context, []byte, []byte) error) + func (fake *FakeRepository) AssertCredentialsReturns(result1 error) + func (fake *FakeRepository) AssertCredentialsReturnsOnCall(i int, result1 error) + func (fake *FakeRepository) DeleteFollowRecord(arg1 context.Context, arg2 string, arg3 string) error + func (fake *FakeRepository) DeleteFollowRecordArgsForCall(i int) (context.Context, string, string) + func (fake *FakeRepository) DeleteFollowRecordCallCount() int + func (fake *FakeRepository) DeleteFollowRecordCalls(stub func(context.Context, string, string) error) + func (fake *FakeRepository) DeleteFollowRecordReturns(result1 error) + func (fake *FakeRepository) DeleteFollowRecordReturnsOnCall(i int, result1 error) + func (fake *FakeRepository) GetFollowers(arg1 context.Context, arg2 string) (models.UserSlice, error) + func (fake *FakeRepository) GetFollowersArgsForCall(i int) (context.Context, string) + func (fake *FakeRepository) GetFollowersCallCount() int + func (fake *FakeRepository) GetFollowersCalls(stub func(context.Context, string) (models.UserSlice, error)) + func (fake *FakeRepository) GetFollowersReturns(result1 models.UserSlice, result2 error) + func (fake *FakeRepository) GetFollowersReturnsOnCall(i int, result1 models.UserSlice, result2 error) + func (fake *FakeRepository) GetFollowing(arg1 context.Context, arg2 string) (models.UserSlice, error) + func (fake *FakeRepository) GetFollowingArgsForCall(i int) (context.Context, string) + func (fake *FakeRepository) GetFollowingCallCount() int + func (fake *FakeRepository) GetFollowingCalls(stub func(context.Context, string) (models.UserSlice, error)) + func (fake *FakeRepository) GetFollowingReturns(result1 models.UserSlice, result2 error) + func (fake *FakeRepository) GetFollowingReturnsOnCall(i int, result1 models.UserSlice, result2 error) + func (fake *FakeRepository) GetTargetsPosts(arg1 context.Context, arg2 string) (models.PostSlice, error) + func (fake *FakeRepository) GetTargetsPostsArgsForCall(i int) (context.Context, string) + func (fake *FakeRepository) GetTargetsPostsCallCount() int + func (fake *FakeRepository) GetTargetsPostsCalls(stub func(context.Context, string) (models.PostSlice, error)) + func (fake *FakeRepository) GetTargetsPostsReturns(result1 models.PostSlice, result2 error) + func (fake *FakeRepository) GetTargetsPostsReturnsOnCall(i int, result1 models.PostSlice, result2 error) + func (fake *FakeRepository) GetUserByUsername(arg1 context.Context, arg2 string) (*models.User, error) + func (fake *FakeRepository) GetUserByUsernameArgsForCall(i int) (context.Context, string) + func (fake *FakeRepository) GetUserByUsernameCallCount() int + func (fake *FakeRepository) GetUserByUsernameCalls(stub func(context.Context, string) (*models.User, error)) + func (fake *FakeRepository) GetUserByUsernameReturns(result1 *models.User, result2 error) + func (fake *FakeRepository) GetUserByUsernameReturnsOnCall(i int, result1 *models.User, result2 error) + func (fake *FakeRepository) Invocations() map[string][][]interface{}