query:=bson.M{
"geoNear":"oriodealers", "near": bson.M{ "type": "Point", "coordinates": []float64{long, lat}, }, "maxDistance": scope, "spherical": true,
} err=session.DB("test").Run(query, &results) if err != nil { log.Fatal("err:", err) }