Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Disconnect ¶
func Disconnect() error
func GetCollection ¶
func GetCollection(name string) *mongo.Collection
Types ¶
type DatabaseConfig ¶
type ObjectID ¶ added in v0.0.6
func NewObjectID ¶ added in v0.0.7
func NewObjectID() ObjectID
func ObjectIDFromHex ¶ added in v0.0.9
Click to show internal directories.
Click to hide internal directories.