We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0bd9c1 commit b737a3fCopy full SHA for b737a3f
source/quick-start.txt
@@ -39,6 +39,18 @@ Use ``go get`` to add the Go driver as a dependency.
39
40
go get go.mongodb.org/mongo-driver/mongo
41
42
+Add Other Dependencies
43
+~~~~~~~~~~~~~~~~~~~~~~
44
+
45
+Use ``go get`` to add any additional dependencies. This Quick Start
46
+uses the ``godotenv`` package to read a MongoDB connection string
47
+from an environment variable to avoid embedding credentials within
48
+source code.
49
50
+.. code-block:: shell
51
52
+ go get github.com/joho/godotenv
53
54
Create a MongoDB Cluster
55
------------------------
56
0 commit comments