Skip to content

Commit

Permalink
Upgrade libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
abeltay committed Dec 14, 2024
1 parent 3991c3e commit 1eb5634
Show file tree
Hide file tree
Showing 11 changed files with 125 additions and 195 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.PHONY: up down pull update clean migrate test generate-sqlboiler generate-mocks psql run

sqlboiler-version = v4.16.2
sqlboiler-version = v4.17.1

up:
docker compose up --detach postgres
Expand Down
2 changes: 1 addition & 1 deletion env/config.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package env

import "github.com/caarlos0/env/v9"
import "github.com/caarlos0/env/v11"

// Config contain the values to be collected from the environment
type Config struct {
Expand Down
31 changes: 14 additions & 17 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,37 +1,34 @@
module github.com/abeltay/go-template

go 1.22
go 1.23

require (
github.com/abeltay/go-kit v0.0.0-20230604060156-1a2dda4701f5
github.com/caarlos0/env/v9 v9.0.0
github.com/caarlos0/env/v11 v11.2.2
github.com/friendsofgo/errors v0.9.2
github.com/google/uuid v1.6.0
github.com/jackc/pgx/v4 v4.18.3
github.com/rubenv/sql-migrate v1.6.1
github.com/stretchr/testify v1.9.0
github.com/volatiletech/sqlboiler/v4 v4.16.2
github.com/volatiletech/strmangle v0.0.6
github.com/jackc/pgx/v5 v5.7.1
github.com/rubenv/sql-migrate v1.7.1
github.com/stretchr/testify v1.10.0
github.com/volatiletech/sqlboiler/v4 v4.17.1
github.com/volatiletech/strmangle v0.0.8
go.uber.org/zap v1.27.0
)

require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-gorp/gorp/v3 v3.1.0 // indirect
github.com/jackc/chunkreader/v2 v2.0.1 // indirect
github.com/jackc/pgconn v1.14.3 // indirect
github.com/jackc/pgio v1.0.0 // indirect
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgproto3/v2 v2.3.3 // indirect
github.com/jackc/pgservicefile v0.0.0-20231201235250-de7065d80cb9 // indirect
github.com/jackc/pgtype v1.14.3 // indirect
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
github.com/jackc/puddle/v2 v2.2.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/spf13/cast v1.6.0 // indirect
github.com/spf13/cast v1.7.0 // indirect
github.com/stretchr/objx v0.5.2 // indirect
github.com/volatiletech/inflect v0.0.1 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/crypto v0.22.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
golang.org/x/crypto v0.31.0 // indirect
golang.org/x/sync v0.10.0 // indirect
golang.org/x/text v0.21.0 // indirect
golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
165 changes: 27 additions & 138 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion models/boil_queries.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion models/boil_table_names.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion models/boil_types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion models/boil_view_names.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

66 changes: 50 additions & 16 deletions models/psql_upsert.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 26 additions & 16 deletions models/users.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions postgres/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"time"

"github.com/abeltay/go-template/env"
"github.com/jackc/pgx/v4"
"github.com/jackc/pgx/v4/stdlib"
"github.com/jackc/pgx/v5"
"github.com/jackc/pgx/v5/stdlib"
)

// OpenDB returns a new instance of DB associated with the given datasource name.
Expand Down

0 comments on commit 1eb5634

Please sign in to comment.