mongo-golang-geo

command module
v0.0.0-...-9cf7015 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2019 License: MIT Imports: 8 Imported by: 0

README

Golang and MongoDB Indexes

Introduction to go-mongo-driver . This as an alternative to the well-known mgo package using geospatial queries.

MongoDB Go badge

Getting Started

This project uses the Go programming language (Golang) and the MongoDB database engine.

Prerequisites

MongoDB is required in version 3 or higher and Go at least in version 1.12

Installing

The dependency required for this project is the MongoDB driver for Go.

  • go.mongodb.org/mongo-driver/mongo
Using GOPATH
go get -u -v go.mongodb.org/mongo-driver/mongo
Using GOMODULE
go build

Deployment

Clone the repository

git clone git@github.com:orlmonteverde/mongo-golang-geo.git

Enter the repository folder

cd mongo-golang-geo

Build the binary

go build

Run the program

# In Unix-like OS
./mongo-golang-geo

# In Windows
mongo-golang-geo.exe

Built With

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL