You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* DOCSP-5402DOCSP-4584 Apply template to Go driver landing page
This also adds a connection example for Atlas.
* DOCSP-4584 Extract go driver compatibility to tables
The official Go Driver is available on `github <https://github.com/mongodb/mongo-go-driver/>`_. See the `README <https://github.com/mongodb/mongo-go-driver/blob/master/README.md>`_ for more details on installation and bugs/feature reporting.
15
+
Introduction
16
+
------------
14
17
15
-
MongoDB Go Driver Compatibility
16
-
---------------------------------
18
+
This is the official MongoDB Go Driver.
17
19
18
-
.. list-table::
19
-
:header-rows: 1
20
-
:stub-columns: 1
21
-
:class: compatibility-large
20
+
- `General documentation for the MongoDB Go Driver <https://godoc.org/github.com/mongodb/mongo-go-driver/mongo>`__
22
21
23
-
* - Go Driver
24
-
- MongoDB 4.0
25
-
- MongoDB 3.6
26
-
- MongoDB 3.4
27
-
- MongoDB 3.2
28
-
- MongoDB 3.0
29
-
- MongoDB 2.6
22
+
- `Get Started with Go <https://www.mongodb.com/blog/post/mongodb-go-driver-tutorial>`_
30
23
31
-
* - 1.0.0
32
-
- |checkmark|
33
-
- |checkmark|
34
-
- |checkmark|
35
-
- |checkmark|
36
-
- |checkmark|
37
-
- |checkmark|
24
+
- `Migration from Community Drivers <https://www.mongodb.com/blog/post/go-migration-guide>`_
The recommended way to get started using the MongoDB Go driver is by using ``dep``
35
+
to install the dependency in your project:
36
+
37
+
.. code-block:: go
38
+
39
+
dep ensure -add "go.mongodb.org/mongo-driver/mongo@~1.0.0"
40
+
41
+
42
+
See `Installation <https://github.com/mongodb/mongo-go-driver#installation>`__
43
+
44
+
45
+
Connect to MongoDB Atlas
46
+
------------------------
46
47
47
-
Go Driver Documentation
48
-
-----------------------
48
+
To connect to a `MongoDB Atlas <https://docs.atlas.mongodb.com/>`_ cluster, use the `Atlas connection string <https://docs.atlas.mongodb.com/driver-connection>`__ for your cluster:
49
49
50
-
On the GoDoc site:
51
-
- `General documentation for the MongoDB Go Driver <https://godoc.org/github.com/mongodb/mongo-go-driver/mongo>`_
0 commit comments