Introducing mongo-driver, an official MongoDB driver for Go

mongo-driver is a rich MongoDB driver that allows developers to write applications that use MongoDB as the database. The Go application can talk easily with MongoDB for all its CRUD operations using the mongo driver. It is an open source implementation maintained by MongoDB and can be used and modified freely. We can think of it as a wrapper around the MongoDB API. Installing the package is similar to other go get commands. However, in this chapter, we'll introduce a new Go package tool called dep.

dep is a Go package installer tool similar to Python's pip or JavaScript's npm. Follow this web page to install the dep tool on various platforms: https://golang.github.io/dep/docs/installation.html ...

Get Hands-On RESTful Web Services with Go - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.