Documentation
¶
Index ¶
- func IncrementBatchID(ctx context.Context, coll *mongo.Collection, collName string, batch int64) (int64, error)
- func IncrementID(ctx context.Context, coll *mongo.Collection, collName string) (int64, error)
- func InitIncrementIDDoc(ctx context.Context, coll *mongo.Collection, incrCollName string) error
- func NewMongo(dbsn, dbname string) (db *mongo.Database, cleanup func(), err error)
- type IncrementIDDoc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IncrementBatchID ¶
func IncrementID ¶
func InitIncrementIDDoc ¶
Types ¶
type IncrementIDDoc ¶
Click to show internal directories.
Click to hide internal directories.