Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/advisory/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ go 1.27

require (
github.com/jackc/pgx/v5 v5.10.0
github.com/mkbeh/xpg v0.3.0
github.com/mkbeh/xpg v0.4.0
)

require (
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
github.com/jackc/puddle/v2 v2.2.2 // indirect
github.com/stretchr/testify v1.12.1 // indirect
go.yaml.in/yaml/v3 v3.0.5 // indirect
golang.org/x/sync v0.22.0 // indirect
golang.org/x/text v0.41.0 // indirect
)
4 changes: 2 additions & 2 deletions examples/advisory/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ github.com/jackc/pgx/v5 v5.10.0 h1:VhSvgU2jSli8o3AqIEOTJr7rZwAEUVo4E4XhR94Zfr0=
github.com/jackc/pgx/v5 v5.10.0/go.mod h1:mal1tBGAFfLHvZzaYh77YS/eC6IX9OWbRV1QIIM0Jn4=
github.com/jackc/puddle/v2 v2.2.2 h1:PR8nw+E/1w0GLuRFSmiioY6UooMp6KJv0/61nB7icHo=
github.com/jackc/puddle/v2 v2.2.2/go.mod h1:vriiEXHvEE654aYKXXjOvZM39qJ0q+azkZFrfEOc3H4=
github.com/mkbeh/xpg v0.3.0 h1:FjKvD8dFxO0DPcgjgkJa09mvihpa6NgcHAtB3BqfkuE=
github.com/mkbeh/xpg v0.3.0/go.mod h1:JSPNYTitoLdBDN5v1ptxdv70/kXwaSiDI0BSSIScBf4=
github.com/mkbeh/xpg v0.4.0 h1:n9WpWJrG0Wv2lDsFPVxussQ6V3yow+qM5vCWw093/WY=
github.com/mkbeh/xpg v0.4.0/go.mod h1:3lr/28OC2fb0acONYqq+cKdYSmhPm3kg5PSsj+yKbic=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
Expand Down
4 changes: 2 additions & 2 deletions examples/basic/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ module basic

go 1.27

require github.com/mkbeh/xpg v0.3.0
require github.com/mkbeh/xpg v0.4.0

require (
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
github.com/jackc/pgx/v5 v5.10.0 // indirect
github.com/jackc/puddle/v2 v2.2.2 // indirect
github.com/stretchr/testify v1.12.1 // indirect
go.yaml.in/yaml/v3 v3.0.5 // indirect
golang.org/x/sync v0.22.0 // indirect
golang.org/x/text v0.41.0 // indirect
)
4 changes: 2 additions & 2 deletions examples/basic/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ github.com/jackc/pgx/v5 v5.10.0 h1:VhSvgU2jSli8o3AqIEOTJr7rZwAEUVo4E4XhR94Zfr0=
github.com/jackc/pgx/v5 v5.10.0/go.mod h1:mal1tBGAFfLHvZzaYh77YS/eC6IX9OWbRV1QIIM0Jn4=
github.com/jackc/puddle/v2 v2.2.2 h1:PR8nw+E/1w0GLuRFSmiioY6UooMp6KJv0/61nB7icHo=
github.com/jackc/puddle/v2 v2.2.2/go.mod h1:vriiEXHvEE654aYKXXjOvZM39qJ0q+azkZFrfEOc3H4=
github.com/mkbeh/xpg v0.3.0 h1:FjKvD8dFxO0DPcgjgkJa09mvihpa6NgcHAtB3BqfkuE=
github.com/mkbeh/xpg v0.3.0/go.mod h1:JSPNYTitoLdBDN5v1ptxdv70/kXwaSiDI0BSSIScBf4=
github.com/mkbeh/xpg v0.4.0 h1:n9WpWJrG0Wv2lDsFPVxussQ6V3yow+qM5vCWw093/WY=
github.com/mkbeh/xpg v0.4.0/go.mod h1:3lr/28OC2fb0acONYqq+cKdYSmhPm3kg5PSsj+yKbic=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
Expand Down
4 changes: 2 additions & 2 deletions examples/cluster/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ go 1.27

require (
github.com/jackc/pgx/v5 v5.10.0
github.com/mkbeh/xpg v0.3.0
github.com/mkbeh/xpg v0.4.0
)

require (
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
github.com/jackc/puddle/v2 v2.2.2 // indirect
github.com/stretchr/testify v1.12.1 // indirect
go.yaml.in/yaml/v3 v3.0.5 // indirect
golang.org/x/sync v0.22.0 // indirect
golang.org/x/text v0.41.0 // indirect
)
4 changes: 2 additions & 2 deletions examples/cluster/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ github.com/jackc/pgx/v5 v5.10.0 h1:VhSvgU2jSli8o3AqIEOTJr7rZwAEUVo4E4XhR94Zfr0=
github.com/jackc/pgx/v5 v5.10.0/go.mod h1:mal1tBGAFfLHvZzaYh77YS/eC6IX9OWbRV1QIIM0Jn4=
github.com/jackc/puddle/v2 v2.2.2 h1:PR8nw+E/1w0GLuRFSmiioY6UooMp6KJv0/61nB7icHo=
github.com/jackc/puddle/v2 v2.2.2/go.mod h1:vriiEXHvEE654aYKXXjOvZM39qJ0q+azkZFrfEOc3H4=
github.com/mkbeh/xpg v0.3.0 h1:FjKvD8dFxO0DPcgjgkJa09mvihpa6NgcHAtB3BqfkuE=
github.com/mkbeh/xpg v0.3.0/go.mod h1:JSPNYTitoLdBDN5v1ptxdv70/kXwaSiDI0BSSIScBf4=
github.com/mkbeh/xpg v0.4.0 h1:n9WpWJrG0Wv2lDsFPVxussQ6V3yow+qM5vCWw093/WY=
github.com/mkbeh/xpg v0.4.0/go.mod h1:3lr/28OC2fb0acONYqq+cKdYSmhPm3kg5PSsj+yKbic=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
Expand Down
2 changes: 1 addition & 1 deletion examples/observability/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.27
require (
github.com/exaring/otelpgx v0.11.1
github.com/jackc/pgx/v5 v5.10.0
github.com/mkbeh/xpg v0.3.0
github.com/mkbeh/xpg v0.4.0
github.com/mkbeh/xpg/extra/otelxpg v0.1.0
github.com/mkbeh/xpg/extra/slogxpg v0.1.0
github.com/prometheus/client_golang v1.24.1
Expand Down
4 changes: 2 additions & 2 deletions examples/observability/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ github.com/klauspost/compress v1.19.1 h1:VsB4HPswih7mmZ8WleSFQ75c/Ui1M4trX5oAsJn
github.com/klauspost/compress v1.19.1/go.mod h1:cwPg85FWrGar70rWktvGQj8/hthj3wpl0PGDogxkrSQ=
github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
github.com/mkbeh/xpg v0.3.0 h1:FjKvD8dFxO0DPcgjgkJa09mvihpa6NgcHAtB3BqfkuE=
github.com/mkbeh/xpg v0.3.0/go.mod h1:JSPNYTitoLdBDN5v1ptxdv70/kXwaSiDI0BSSIScBf4=
github.com/mkbeh/xpg v0.4.0 h1:n9WpWJrG0Wv2lDsFPVxussQ6V3yow+qM5vCWw093/WY=
github.com/mkbeh/xpg v0.4.0/go.mod h1:3lr/28OC2fb0acONYqq+cKdYSmhPm3kg5PSsj+yKbic=
github.com/mkbeh/xpg/extra/otelxpg v0.1.0 h1:y+nOdj1Gt0aaVX5sIB5u+EcJtgUSJ0ktL5Ve6uzevwk=
github.com/mkbeh/xpg/extra/otelxpg v0.1.0/go.mod h1:j+jT8OhO5rjvCbHfgTIKhrFFb29MRSi6F36Jn3gy6EY=
github.com/mkbeh/xpg/extra/slogxpg v0.1.0 h1:JcMHULjL8UPoe9fIUM4A+eXUXyS/tt+3FZ7CTpgCrB4=
Expand Down
4 changes: 2 additions & 2 deletions examples/shard/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ module shard

go 1.27

require github.com/mkbeh/xpg v0.3.0
require github.com/mkbeh/xpg v0.4.0

require (
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
github.com/jackc/pgx/v5 v5.10.0 // indirect
github.com/jackc/puddle/v2 v2.2.2 // indirect
github.com/stretchr/testify v1.12.1 // indirect
go.yaml.in/yaml/v3 v3.0.5 // indirect
golang.org/x/sync v0.22.0 // indirect
golang.org/x/text v0.41.0 // indirect
)
4 changes: 2 additions & 2 deletions examples/shard/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ github.com/jackc/pgx/v5 v5.10.0 h1:VhSvgU2jSli8o3AqIEOTJr7rZwAEUVo4E4XhR94Zfr0=
github.com/jackc/pgx/v5 v5.10.0/go.mod h1:mal1tBGAFfLHvZzaYh77YS/eC6IX9OWbRV1QIIM0Jn4=
github.com/jackc/puddle/v2 v2.2.2 h1:PR8nw+E/1w0GLuRFSmiioY6UooMp6KJv0/61nB7icHo=
github.com/jackc/puddle/v2 v2.2.2/go.mod h1:vriiEXHvEE654aYKXXjOvZM39qJ0q+azkZFrfEOc3H4=
github.com/mkbeh/xpg v0.3.0 h1:FjKvD8dFxO0DPcgjgkJa09mvihpa6NgcHAtB3BqfkuE=
github.com/mkbeh/xpg v0.3.0/go.mod h1:JSPNYTitoLdBDN5v1ptxdv70/kXwaSiDI0BSSIScBf4=
github.com/mkbeh/xpg v0.4.0 h1:n9WpWJrG0Wv2lDsFPVxussQ6V3yow+qM5vCWw093/WY=
github.com/mkbeh/xpg v0.4.0/go.mod h1:3lr/28OC2fb0acONYqq+cKdYSmhPm3kg5PSsj+yKbic=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
Expand Down
4 changes: 2 additions & 2 deletions examples/shard_geo/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ go 1.27

require (
github.com/jackc/pgx/v5 v5.10.0
github.com/mkbeh/xpg v0.3.0
github.com/mkbeh/xpg v0.4.0
)

require (
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
github.com/jackc/puddle/v2 v2.2.2 // indirect
github.com/stretchr/testify v1.12.1 // indirect
go.yaml.in/yaml/v3 v3.0.5 // indirect
golang.org/x/sync v0.22.0 // indirect
golang.org/x/text v0.41.0 // indirect
)
4 changes: 2 additions & 2 deletions examples/shard_geo/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ github.com/jackc/pgx/v5 v5.10.0 h1:VhSvgU2jSli8o3AqIEOTJr7rZwAEUVo4E4XhR94Zfr0=
github.com/jackc/pgx/v5 v5.10.0/go.mod h1:mal1tBGAFfLHvZzaYh77YS/eC6IX9OWbRV1QIIM0Jn4=
github.com/jackc/puddle/v2 v2.2.2 h1:PR8nw+E/1w0GLuRFSmiioY6UooMp6KJv0/61nB7icHo=
github.com/jackc/puddle/v2 v2.2.2/go.mod h1:vriiEXHvEE654aYKXXjOvZM39qJ0q+azkZFrfEOc3H4=
github.com/mkbeh/xpg v0.3.0 h1:FjKvD8dFxO0DPcgjgkJa09mvihpa6NgcHAtB3BqfkuE=
github.com/mkbeh/xpg v0.3.0/go.mod h1:JSPNYTitoLdBDN5v1ptxdv70/kXwaSiDI0BSSIScBf4=
github.com/mkbeh/xpg v0.4.0 h1:n9WpWJrG0Wv2lDsFPVxussQ6V3yow+qM5vCWw093/WY=
github.com/mkbeh/xpg v0.4.0/go.mod h1:3lr/28OC2fb0acONYqq+cKdYSmhPm3kg5PSsj+yKbic=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
Expand Down
4 changes: 2 additions & 2 deletions examples/shard_group/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ go 1.27

require (
github.com/jackc/pgx/v5 v5.10.0
github.com/mkbeh/xpg v0.3.0
github.com/mkbeh/xpg v0.4.0
)

require (
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
github.com/jackc/puddle/v2 v2.2.2 // indirect
github.com/stretchr/testify v1.12.1 // indirect
go.yaml.in/yaml/v3 v3.0.5 // indirect
golang.org/x/sync v0.22.0 // indirect
golang.org/x/text v0.41.0 // indirect
)
4 changes: 2 additions & 2 deletions examples/shard_group/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ github.com/jackc/pgx/v5 v5.10.0 h1:VhSvgU2jSli8o3AqIEOTJr7rZwAEUVo4E4XhR94Zfr0=
github.com/jackc/pgx/v5 v5.10.0/go.mod h1:mal1tBGAFfLHvZzaYh77YS/eC6IX9OWbRV1QIIM0Jn4=
github.com/jackc/puddle/v2 v2.2.2 h1:PR8nw+E/1w0GLuRFSmiioY6UooMp6KJv0/61nB7icHo=
github.com/jackc/puddle/v2 v2.2.2/go.mod h1:vriiEXHvEE654aYKXXjOvZM39qJ0q+azkZFrfEOc3H4=
github.com/mkbeh/xpg v0.3.0 h1:FjKvD8dFxO0DPcgjgkJa09mvihpa6NgcHAtB3BqfkuE=
github.com/mkbeh/xpg v0.3.0/go.mod h1:JSPNYTitoLdBDN5v1ptxdv70/kXwaSiDI0BSSIScBf4=
github.com/mkbeh/xpg v0.4.0 h1:n9WpWJrG0Wv2lDsFPVxussQ6V3yow+qM5vCWw093/WY=
github.com/mkbeh/xpg v0.4.0/go.mod h1:3lr/28OC2fb0acONYqq+cKdYSmhPm3kg5PSsj+yKbic=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
Expand Down
4 changes: 2 additions & 2 deletions examples/transactions/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ go 1.27

require (
github.com/jackc/pgx/v5 v5.10.0
github.com/mkbeh/xpg v0.3.0
github.com/mkbeh/xpg v0.4.0
)

require (
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
github.com/jackc/puddle/v2 v2.2.2 // indirect
github.com/stretchr/testify v1.12.1 // indirect
go.yaml.in/yaml/v3 v3.0.5 // indirect
golang.org/x/sync v0.22.0 // indirect
golang.org/x/text v0.41.0 // indirect
)
4 changes: 2 additions & 2 deletions examples/transactions/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ github.com/jackc/pgx/v5 v5.10.0 h1:VhSvgU2jSli8o3AqIEOTJr7rZwAEUVo4E4XhR94Zfr0=
github.com/jackc/pgx/v5 v5.10.0/go.mod h1:mal1tBGAFfLHvZzaYh77YS/eC6IX9OWbRV1QIIM0Jn4=
github.com/jackc/puddle/v2 v2.2.2 h1:PR8nw+E/1w0GLuRFSmiioY6UooMp6KJv0/61nB7icHo=
github.com/jackc/puddle/v2 v2.2.2/go.mod h1:vriiEXHvEE654aYKXXjOvZM39qJ0q+azkZFrfEOc3H4=
github.com/mkbeh/xpg v0.3.0 h1:FjKvD8dFxO0DPcgjgkJa09mvihpa6NgcHAtB3BqfkuE=
github.com/mkbeh/xpg v0.3.0/go.mod h1:JSPNYTitoLdBDN5v1ptxdv70/kXwaSiDI0BSSIScBf4=
github.com/mkbeh/xpg v0.4.0 h1:n9WpWJrG0Wv2lDsFPVxussQ6V3yow+qM5vCWw093/WY=
github.com/mkbeh/xpg v0.4.0/go.mod h1:3lr/28OC2fb0acONYqq+cKdYSmhPm3kg5PSsj+yKbic=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
Expand Down