Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Audit = bson.M{ "name": "audit", "index": []mongo.IndexModel{ { bson.D{ {"type", 1}, }, options.Index(), }, { bson.D{ {"enable", 1}, }, options.Index(), }, }, } )
View Source
var ( Profile = bson.M{ "name": "profile", "index": []mongo.IndexModel{ { bson.D{ {"info.nickname", 1}, }, options.Index(), }, { bson.D{ {"info.sex", 1}, }, options.Index(), }, { bson.D{ {"info.address.type", 1}, }, options.Index(), }, { bson.D{ {"info.address.nation", 1}, }, options.Index(), }, { bson.D{ {"info.address.province", 1}, }, options.Index(), }, { bson.D{ {"info.address.city", 1}, }, options.Index(), }, { bson.D{ {"info.address.district", 1}, }, options.Index(), }, { bson.D{ {"status", 1}, }, options.Index(), }, }, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.