Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoDriver ¶
type MongoDriver interface { Connect() GetCollection(collectionName string) *mongo.Collection Disconnect() }
func NewMongoDriver ¶
func NewMongoDriver(url string, database string) MongoDriver
Click to show internal directories.
Click to hide internal directories.