Skip to content

Commit 255b09f

Browse files
authored
match convention (#244)
1 parent ed0ddf3 commit 255b09f

File tree

1 file changed

+2
-2
lines changed
  • source/includes/fundamentals/code-snippets

1 file changed

+2
-2
lines changed

source/includes/fundamentals/code-snippets/srv.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"go.mongodb.org/mongo-driver/mongo/options"
1010
)
1111

12-
// Replace the placeholders with your credentials
13-
const uri = "mongodb+srv://<username>:<password>@cluster0.sample.mongodb.net/?retryWrites=true&w=majority"
12+
// Replace the placeholder with your Atlas connection string
13+
const uri = "<connection string>"
1414

1515
func main() {
1616

0 commit comments

Comments
 (0)