diff --git a/source/includes/quick-start/main.go b/source/includes/quick-start/main.go index d78348a5..91fc88fd 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(context.TODO(), options.Client(). ApplyURI(uri))