package main type MgoConf struct { Host string DB string Coll string // 查询表 Username string Password string Size int Name string Direct bool } type GlobalConf struct { MongoF MgoConf MongoT MgoConf MongoB MgoConf Env EnvConf } type EnvConf struct { Appid string Createtime int64 Fields []string }