Documentation ¶
Index ¶
- type Factory
- type Repository
- func (_m *Repository) Begin(ctx context.Context, s *query.Scope) error
- func (_m *Repository) Commit(ctx context.Context, s *query.Scope) error
- func (_m *Repository) Create(ctx context.Context, s *query.Scope) error
- func (_m *Repository) Delete(ctx context.Context, s *query.Scope) error
- func (_m *Repository) Get(ctx context.Context, s *query.Scope) error
- func (_m *Repository) List(ctx context.Context, s *query.Scope) error
- func (_m *Repository) Patch(ctx context.Context, s *query.Scope) error
- func (_m *Repository) RepositoryName() string
- func (_m *Repository) Rollback(ctx context.Context, s *query.Scope) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
Factory is the repository.Factory mock implementation
func (*Factory) New ¶
func (f *Factory) New(s repository.ModelStructer, model *mapping.ModelStruct) (repository.Repository, error)
New creates new repository Implements repository.Factory method
func (*Factory) RepositoryName ¶
RepositoryName returns the factory repository name Implements repository.Repository
type Repository ¶
Repository is an autogenerated mock type for the Repository type
func (*Repository) RepositoryName ¶
func (_m *Repository) RepositoryName() string
RepositoryName provides a mock function with given fields:
Click to show internal directories.
Click to hide internal directories.