Documentation ¶
Index ¶
- type Counter
- type MongoDB
- func (m MongoDB) Count(key string) (map[string]int, error)
- func (m MongoDB) Get(elm interface{}, filter interface{}) error
- func (m MongoDB) QueryFilter(key string, value interface{}) interface{}
- func (m MongoDB) QueryUpdate(key string, value interface{}) interface{}
- func (m MongoDB) Set(elm interface{}, filter interface{}, update interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoDB ¶
type MongoDB struct { Collection *mongo.Collection Ctx context.Context }
func (MongoDB) QueryFilter ¶
func (MongoDB) QueryUpdate ¶
Click to show internal directories.
Click to hide internal directories.