func LoadDB() {
	session, err := mgo.Dial(Config.mongodb)
	if err != nil {
		log.Panicln("Error establishing database connection: ", err)
	}

	Conn.Db = session.DB("")
}
// Connect to the given database
Connect to the given database
// Connect to the given database
func LoadDB() {
	session, err := mgo.Dial(Config.mongodb)
	if err != nil {
		log.Panicln("Error establishing database connection: ", err)
	}
	Conn.Db = session.DB("")
}
func LoadDB ( ) { session , err := mgo . Dial ( Config . mongodb ) if err != nil { log . Panicln ( " " , err ) } Conn . Db = session . DB ( " " ) }
Connect to the given database
Connect to the given database