This repository has been archived by the owner on Sep 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated to use MongoDB driver v1.8.3
- Loading branch information
Showing
2 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ Repository to help getting started with MongoDB Go driver connecting to MongoDB | |
|
||
## Information | ||
|
||
This Get-Started project uses [MongoDB Go driver](https://godoc.org/go.mongodb.org/mongo-driver/mongo) version 1.6.0 by default. Although you can change the driver version, the provided code example was only tested against the default version of MongoDB driver. There is no guarantee that the code sample will work for all possible versions of the driver. | ||
This Get-Started project uses [MongoDB Go driver](https://godoc.org/go.mongodb.org/mongo-driver/mongo) version 1.8.3 by default. Although you can change the driver version, the provided code example was only tested against the default version of MongoDB driver. There is no guarantee that the code sample will work for all possible versions of the driver. | ||
|
||
## Pre-requisites | ||
|
||
|
@@ -26,7 +26,7 @@ Execute the helper shell script followed by the MongoDB URI that you would like | |
|
||
To use a different driver version, specify the driver version after the MongoDB URI. For example: | ||
``` | ||
./get-started.sh "mongodb+srv://usr:[email protected]/dbname?retryWrites=true" 1.5.0 | ||
./get-started.sh "mongodb+srv://usr:[email protected]/dbname?retryWrites=true" 1.6.0 | ||
``` | ||
|
||
### Execute commands within the Docker environment | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters