package
0.3.1
Repository: https://github.com/kevinyjn/gocom.git
Documentation: pkg.go.dev

# Functions

AddMongoBeforeSaveObserver observer.
GetAllMongoDBs all iterable mongo sessions.
GetCollectionName get collection name by model.
GetMetaField get meta field by model.
GetModelPk get model pk.
GetMongoDB get mongodb.
InitMongoDB initialzie mongodb sessions.
MongoOrganizeUpdatesFields make {"$set": { }} fields.
PrepareCollectionIndexes prepare indexes.

# Constants

Constant.
Constant.
MongoDBPingInterval mongodb heatbeat ping interval.
Constant.
Constant.

# Structs

MongoCollectionIndex struct.
MongoMeta mongodb models meta structure.
MongoSession mongodb session.

# Type aliases

ErrorMongoDB mongodb error.
MongoBeforeSaveFunc mongodb before save event callback.