Versions in this module Expand all Collapse all v0 v0.0.1 Nov 12, 2023 Changes in this version + func GCFPostCoordinate(Mongostring, dbname, colname string, r *http.Request) string + func GCHandlerFunc(Mongostring, dbname, colname string) string + func GetConnectionMongo(MongoString, dbname string) *mongo.Database + func InsertDataLonlat(MongoConn *mongo.Database, colname string, coordinate []float64, ...) (InsertedID interface{}) + func ReturnStringStruct(Data any) string + type Credents struct + Message string + Status string + type GeoJson struct + Geometry Geometry + Properties Properties + Type string + func GetAllGeoData(MongoConnect *mongo.Database, colname string) []GeoJson + type GeoJsonLineString struct + Geometry GeometryLineString + Properties Properties + Type string + type GeoJsonPolygon struct + Geometry GeometryPolygon + Properties Properties + Type string + type Geometry struct + Coordinates interface{} + Type string + type GeometryLineString struct + Coordinates [][]float64 + Type string + type GeometryPoint struct + Coordinates []float64 + Type string + type GeometryPolygon struct + Coordinates [][][]float64 + Type string + type LonLatProperties struct + Coordinates []float64 + Name string + Type string + Volume string + type Properties struct + Name string