repository

package
v0.18.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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 (*DummyRepository) Insert

func (r *DummyRepository) Insert(ctx context.Context, entity *store.Dummy) error

func (*DummyRepository) Upsert

func (r *DummyRepository) Upsert(ctx context.Context, entity *store.Dummy) error

func (*DummyRepository) UpsertMany

func (r *DummyRepository) UpsertMany(ctx context.Context, entities []*store.Dummy) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL