Documentation ¶
Overview ¶
Package mongo provide drive for connections on mongo client and production
Index ¶
Constants ¶
View Source
const ( // PRODUCTION const for operations on production servers PRODUCTION = "production" // LOCALHOST const for operations on locally servers LOCALHOST = "localhost" )
Variables ¶
This section is empty.
Functions ¶
func GetSession ¶
GetSession return the mgo.Collection for any operations on database mongodb
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.