摘要:
连接集群mongodb://[username:password@]host1[:port1][,host2[:port2],...[,hostN[:portN]]][/[database][?options]]所以集群的话格式是GlobalMgoSession, err := mgo.Dial("... 阅读全文
posted @ 2016-01-04 17:32
架构师刀哥
阅读(1427)
评论(0)
推荐(0)
浙公网安备 33010602011771号