Documentation
¶
Index ¶
- type Store
- type User
- type UserQuery
- func (_m *UserQuery) All(ctx context.Context) ([]*domain.User, error)
- func (_m *UserQuery) Count(ctx context.Context) (int, error)
- func (_m *UserQuery) Delete(ctx context.Context) error
- func (_m *UserQuery) ID(ids ...domain.UserID) store.UserQuery
- func (_m *UserQuery) One(ctx context.Context) (*domain.User, error)
- func (_m *UserQuery) TelegramID(ids ...tg.UserID) store.UserQuery
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
Store is an autogenerated mock type for the Store type
func NewStore ¶
func NewStore(t mockConstructorTestingTNewStore) *Store
NewStore creates a new instance of Store. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type User ¶
User is an autogenerated mock type for the User type
func NewUser ¶
func NewUser(t mockConstructorTestingTNewUser) *User
NewUser creates a new instance of User. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type UserQuery ¶
UserQuery is an autogenerated mock type for the UserQuery type
func NewUserQuery ¶
func NewUserQuery(t mockConstructorTestingTNewUserQuery) *UserQuery
NewUserQuery creates a new instance of UserQuery. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
Click to show internal directories.
Click to hide internal directories.