diff --git a/source/includes/quick-start/main.go b/source/includes/quick-start/main.go index 34112cb7..2b50d8f7 100644 --- a/source/includes/quick-start/main.go +++ b/source/includes/quick-start/main.go @@ -19,10 +19,11 @@ func main() { } uri := os.Getenv("MONGODB_URI") + docs := "www.mongodb.com/docs/drivers/go/current/" if uri == "" { log.Fatal("Set your 'MONGODB_URI' environment variable. " + - "See: " + - "www.mongodb.com/docs/drivers/go/current/usage-examples/#environment-variable") + "See: " + docs + + "usage-examples/#environment-variable") } client, err := mongo.Connect(options.Client(). ApplyURI(uri))