We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a79522 commit ebcc39cCopy full SHA for ebcc39c
source/includes/quick-start/main.go
@@ -19,10 +19,11 @@ func main() {
19
}
20
21
uri := os.Getenv("MONGODB_URI")
22
+ docs := "www.mongodb.com/docs/drivers/go/current/"
23
if uri == "" {
24
log.Fatal("Set your 'MONGODB_URI' environment variable. " +
- "See: " +
25
- "www.mongodb.com/docs/drivers/go/current/usage-examples/#environment-variable")
+ "See: " + docs +
26
+ "usage-examples/#environment-variable")
27
28
client, err := mongo.Connect(context.TODO(), options.Client().
29
ApplyURI(uri))
0 commit comments