diff --git a/README.md b/README.md index 00b11f97..73232044 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ import ( ) func main() { + // urlExample := "postgres://username:password@localhost:5432/database_name" conn, err := pgx.Connect(context.Background(), os.Getenv("DATABASE_URL")) if err != nil { fmt.Fprintf(os.Stderr, "Unable to connect to database: %v\n", err)