MongoDB Go Driver Tutorial Part 1: Connecting, Using BSON, and CRUD Operations
The official MongoDB Go Driver recently moved to GA with the release of version 1.0.0. It's now regarded as feature complete and ready for production use. This tutorial will help you get started with the MongoDB Go Driver. You will create a simple program and learn how to: Install the MongoDB Go Driver, Connect to MongoDB using the Go Driver, Use BSON objects in Go, and Send CRUD operations to MongoDB.
Official MongoDB Go Driver Now GA and Ready For Production
Today, we are making the official MongoDB Go driver Generally Available (GA). We welcome everyone to the first day of a new generation of production-ready Go and MongoDB applications.
The MongoDB Go driver entered beta testing in December 2018. Since then, it's been downloaded thousands of times, generating valuable feedback from the community that has enabled our engineers to move development forward to today's GA release. Take a look at the beta announcement if you want to learn more about why we invested in building an official Go driver, and how we use Go at MongoDB.
Calling the MongoDB Atlas API - How to do it from Go
After last week's article on how to access the Atlas API with Node, Python, and Ruby, I was asked why didn't I mention Go (among other languages). Well, no need to worry. Here's an extra slab of Atlas API access in Go.
Official MongoDB Go Driver Now Available for Beta Testing
We’re pleased to announce that the official MongoDB Go driver is moving into beta, ready for the wider Go and MongoDB community to put it to the test – we think you’ll really like it.
In this blog, we will discuss:
- The growing importance of Go
- How we use it today at MongoDB
- Our rationale for building a new driver
- Resources to get you started with it.
Go Migration Guide
MongoDB has released an official driver for the Go language that is appropriate for all supported database operations. This driver implements the Core and API specs, and supports MongoDB 3.2 and above.
Many developers have been using community contributed golang drivers such as mgo and variants or forks of it. Developers who are interested in migrating to the official MongoDB Go driver have many considerations when approaching a migration of their application code. This migration guide is intended to provide guidance on some commonly found differences in client code when using the MongoDB Go Driver, and present potential actions to be taken during a migration.
MongoDB Go Driver Tutorial
With the official MongoDB Go Driver recently moving to beta, it's now regarded as feature complete and ready for a wider audience to start using. This tutorial will help you get started with the MongoDB Go Driver. You will create a simple program and learn how to:
- Install the MongoDB Go Driver
- Connect to MongoDB using the Go Driver
- Use BSON objects in Go
- Send CRUD operations to MongoDB