Documentation ¶
Index ¶
- type MockUserRepository
- func (m *MockUserRepository) Create(ctx context.Context, usr *user.User) error
- func (m *MockUserRepository) CreateExternal(ctx context.Context, extUsr *user.ExternalUser) error
- func (m *MockUserRepository) FindExternalBy(ctx context.Context, opts ...repositories.Option) ([]*user.ExternalUser, error)
- func (m *MockUserRepository) Get(ctx context.Context, userID string) (*user.User, error)
- func (m *MockUserRepository) WithExternalUserID(_ string) repositories.Option
- func (m *MockUserRepository) WithProviderID(_ string) repositories.Option
- func (m *MockUserRepository) WithUserID(_ string) repositories.Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockUserRepository ¶
func (*MockUserRepository) CreateExternal ¶
func (m *MockUserRepository) CreateExternal(ctx context.Context, extUsr *user.ExternalUser) error
func (*MockUserRepository) FindExternalBy ¶
func (m *MockUserRepository) FindExternalBy(ctx context.Context, opts ...repositories.Option) ([]*user.ExternalUser, error)
func (*MockUserRepository) WithExternalUserID ¶
func (m *MockUserRepository) WithExternalUserID(_ string) repositories.Option
func (*MockUserRepository) WithProviderID ¶
func (m *MockUserRepository) WithProviderID(_ string) repositories.Option
func (*MockUserRepository) WithUserID ¶
func (m *MockUserRepository) WithUserID(_ string) repositories.Option
Click to show internal directories.
Click to hide internal directories.