Documentation ¶
Index ¶
- type DummyRepository
- func (r *DummyRepository) Delete(ctx context.Context, id string) error
- func (r *DummyRepository) Get(ctx context.Context, id string, opts ...*options.FindOneOptions) (*store.Dummy, error)
- func (r *DummyRepository) Insert(ctx context.Context, entity *store.Dummy) error
- func (r *DummyRepository) Upsert(ctx context.Context, entity *store.Dummy) error
- func (r *DummyRepository) UpsertMany(ctx context.Context, entities []*store.Dummy) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DummyRepository ¶
type DummyRepository struct {
// contains filtered or unexported fields
}
func NewDummyRepository ¶
func NewDummyRepository(collection *keelmongo.Collection) *DummyRepository
NewDummyRepository constructor
func (*DummyRepository) Delete ¶
func (r *DummyRepository) Delete(ctx context.Context, id string) error
func (*DummyRepository) Get ¶
func (r *DummyRepository) Get(ctx context.Context, id string, opts ...*options.FindOneOptions) (*store.Dummy, error)
func (*DummyRepository) UpsertMany ¶
Click to show internal directories.
Click to hide internal directories.