Documentation ¶
Index ¶
- type MongoFactory
- type Mongodb
- func (db *Mongodb) Create(ctx context.Context, database, table string, entity interface{}) error
- func (db *Mongodb) Delete(ctx context.Context, entityId string) error
- func (db *Mongodb) GetAll(ctx context.Context, database, table string, entities interface{}) error
- func (db *Mongodb) GetByID(ctx context.Context, database, table string, entityId string, ...) error
- func (db *Mongodb) Update(ctx context.Context, enitty string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoFactory ¶
type MongoFactory struct{}
Click to show internal directories.
Click to hide internal directories.