Skip to content

Commit

Permalink
fix(contrib/jackc/pgx.v5): set right example name for ExamplePool
Browse files Browse the repository at this point in the history
  • Loading branch information
darccio committed Dec 9, 2024
1 parent f1d9707 commit 1fcfcf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/jackc/pgx.v5/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func ExampleConnect() {
}
}

func ExamplePool() {
func ExampleNewPool() {
ctx := context.TODO()

// The pgxpool uses the same tracer and is exposed the same way.
Expand Down

0 comments on commit 1fcfcf3

Please sign in to comment.