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