Docs Menu

MongoDB Go Driver

Welcome to the MongoDB Go driver documentation.

Connect your Go applications to MongoDB and work with your data using the official Go driver. On this page, you can find descriptions of each section of the driver documentation and how to learn more about the Go driver.

Learn how to establish a connection to MongoDB Atlas and begin working with data in the Quick Start section.

For fully runnable code snippets and explanations for common methods, see the Usage Examples section.

Learn how to perform the following tasks using the Go driver in the Fundamentals section:

For detailed information about types and functions in the MongoDB Go driver, see the MongoDB Go driver API documentation.

Learn how to report bugs, contribute to the driver, and find additional resources for asking questions in the Issues & Help section.

For the compatibility charts that show the recommended Go Driver version for each MongoDB Server version, see the Compatibility section.

Visit the Developer Hub and MongoDB University to learn more about the MongoDB Go driver.

The Developer Hub provides tutorials and social engagement for developers.

To learn how to use MongoDB features with the Go driver, see the How To's and Articles page.

To ask questions and engage in discussions with fellow developers using the Go Driver, see the forums page.

Give Feedback
MongoDB logo
© 2021 MongoDB, Inc.


  • Careers
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2021 MongoDB, Inc.