Like other official MongoDB drivers, the Go driver is an integral part of the Go programming language and provides a convenient opportunity to use MongoDB as a solution for the Go program databases. It is fully integrated with the MongoDB API, and also has all the functions of queries, indexing and aggregation APIs and other advanced functions. Unlike third-party libraries, it will be fully supported by MongoDB engineers, so you can be sure of its further development and support.

In this tutorial, you’ll start using the official MongoDB Go driver. You install the driver, connect to the MongoDB database, and perform several CRUD operations. In the process, you will create a task manager program to manage tasks using the command line.

#mongodb

Using Go with MongoDB with the Go Driver MongoDB
1.70 GEEK