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
Copy file name to clipboardExpand all lines: source/includes/fundamentals/code-snippets/CRUD/changeStream.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ type Course struct {
23
23
funcmain() {
24
24
varuristring
25
25
ifuri=os.Getenv("MONGODB_URI"); uri=="" {
26
-
log.Fatal("You must set your 'MONGODB_URI' environment variable. See\n\t https://www.mongodb.com/docs/drivers/go/current/usage-examples/#environment-variable")
26
+
log.Fatal("You must set your 'MONGODB_URI' environment variable. See\n\t https://www.mongodb.com/docs/drivers/go/current/connect/mongoclient/#environment-variable")
Copy file name to clipboardExpand all lines: source/includes/fundamentals/code-snippets/CRUD/compoundOperations.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ type Course struct {
23
23
funcmain() {
24
24
varuristring
25
25
ifuri=os.Getenv("MONGODB_URI"); uri=="" {
26
-
log.Fatal("You must set your 'MONGODB_URI' environment variable. See\n\t https://www.mongodb.com/docs/drivers/go/current/usage-examples/#environment-variable")
26
+
log.Fatal("You must set your 'MONGODB_URI' environment variable. See\n\t https://www.mongodb.com/docs/drivers/go/current/connect/mongoclient/#environment-variable")
Copy file name to clipboardExpand all lines: source/includes/fundamentals/code-snippets/CRUD/delete.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ type Book struct {
24
24
funcmain() {
25
25
varuristring
26
26
ifuri=os.Getenv("MONGODB_URI"); uri=="" {
27
-
log.Fatal("You must set your 'MONGODB_URI' environment variable. See\n\t https://www.mongodb.com/docs/drivers/go/current/usage-examples/#environment-variable")
27
+
log.Fatal("You must set your 'MONGODB_URI' environment variable. See\n\t https://www.mongodb.com/docs/drivers/go/current/connect/mongoclient/#environment-variable")
Copy file name to clipboardExpand all lines: source/includes/fundamentals/code-snippets/CRUD/limit.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ type Course struct {
23
23
funcmain() {
24
24
varuristring
25
25
ifuri=os.Getenv("MONGODB_URI"); uri=="" {
26
-
log.Fatal("You must set your 'MONGODB_URI' environment variable. See\n\t https://www.mongodb.com/docs/drivers/go/current/usage-examples/#environment-variable")
26
+
log.Fatal("You must set your 'MONGODB_URI' environment variable. See\n\t https://www.mongodb.com/docs/drivers/go/current/connect/mongoclient/#environment-variable")
Copy file name to clipboardExpand all lines: source/includes/fundamentals/code-snippets/CRUD/retrieve.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ type Tea struct {
25
25
funcmain() {
26
26
varuristring
27
27
ifuri=os.Getenv("MONGODB_URI"); uri=="" {
28
-
log.Fatal("You must set your 'MONGODB_URI' environment variable. See\n\t https://www.mongodb.com/docs/drivers/go/current/usage-examples/#environment-variable")
28
+
log.Fatal("You must set your 'MONGODB_URI' environment variable. See\n\t https://www.mongodb.com/docs/drivers/go/current/connect/mongoclient/#environment-variable")
Copy file name to clipboardExpand all lines: source/includes/fundamentals/code-snippets/CRUD/retryableReadsWrites.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ import (
12
12
funcmain() {
13
13
varuristring
14
14
ifuri=os.Getenv("MONGODB_URI"); uri=="" {
15
-
log.Fatal("You must set your 'MONGODB_URI' environment variable. See\n\t https://www.mongodb.com/docs/drivers/go/current/usage-examples/#environment-variable")
15
+
log.Fatal("You must set your 'MONGODB_URI' environment variable. See\n\t https://www.mongodb.com/docs/drivers/go/current/connect/mongoclient/#environment-variable")
Copy file name to clipboardExpand all lines: source/includes/fundamentals/code-snippets/CRUD/runCommand.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ func main() {
17
17
18
18
varuristring
19
19
ifuri=os.Getenv("MONGODB_URI"); uri=="" {
20
-
log.Fatal("You must set your 'MONGODB_URI' environment variable. See\n\t https://www.mongodb.com/docs/drivers/go/current/usage-examples/#environment-variable")
20
+
log.Fatal("You must set your 'MONGODB_URI' environment variable. See\n\t https://www.mongodb.com/docs/drivers/go/current/connect/mongoclient/#environment-variable")
Copy file name to clipboardExpand all lines: source/includes/fundamentals/code-snippets/CRUD/skip.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ type Course struct {
24
24
funcmain() {
25
25
varuristring
26
26
ifuri=os.Getenv("MONGODB_URI"); uri=="" {
27
-
log.Fatal("You must set your 'MONGODB_URI' environment variable. See\n\t https://www.mongodb.com/docs/drivers/go/current/usage-examples/#environment-variable")
27
+
log.Fatal("You must set your 'MONGODB_URI' environment variable. See\n\t https://www.mongodb.com/docs/drivers/go/current/connect/mongoclient/#environment-variable")
Copy file name to clipboardExpand all lines: source/includes/fundamentals/code-snippets/CRUD/sort.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ type Course struct {
24
24
funcmain() {
25
25
varuristring
26
26
ifuri=os.Getenv("MONGODB_URI"); uri=="" {
27
-
log.Fatal("You must set your 'MONGODB_URI' environment variable. See\n\t https://www.mongodb.com/docs/drivers/go/current/usage-examples/#environment-variable")
27
+
log.Fatal("You must set your 'MONGODB_URI' environment variable. See\n\t https://www.mongodb.com/docs/drivers/go/current/connect/mongoclient/#environment-variable")
0 commit comments