背景 从mongo数据库中取出数据以interface{}格式返回,解析返回的数据。 1.从mongo中取数据golang newSession := m.Session.Copy() defer newSession.Close() c := newSession.DB(database).C(collName) if err := c.Find(bson.M{"time": occurtime