Skip to content

Commit

Permalink
build(deps): bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianbrad committed May 5, 2024
1 parent f2e102c commit 03a414d
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 22 deletions.
20 changes: 9 additions & 11 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ linters-settings:
- G307

staticcheck:
# Select the Go version to target. The default is '1.13'.
go: "1.21"
# https://staticcheck.io/docs/options#checks
checks: [ "all" ]

Expand Down Expand Up @@ -46,11 +44,9 @@ linters-settings:
gocyclo:
min-complexity: 20 # minimal code cyclomatic complexity to report

gomnd:
settings:
mnd:
# don't include the "operation" and "assign"
checks: [argument,case,condition,return]
mnd:
# don't include the "operation" and "assign"
checks: [argument,case,condition,return]

misspell:
locale: US
Expand Down Expand Up @@ -142,8 +138,8 @@ linters:
- bodyclose # Detects whether the HTTP response body is closed successfully, not closing the response body could lead to memory leaks
- goconst # Finds repeated strings that could be replaced by a constant
- godot # Check if comments end in a period
- gomnd # An analyzer to detect magic numbers.
- goerr113 # Golang linter to check the errors handling expressions
- mnd # An analyzer to detect magic numbers.
- err113 # Golang linter to check the errors handling expressions
- gocritic # Provides many diagnostics that check for bugs, performance and style issues.
- exhaustive # Check exhaustiveness of enum switch statements
- exportloopref # checks for pointers to enclosing loop variables -- VERY IMPORTANT TO USE
Expand Down Expand Up @@ -172,7 +168,7 @@ linters:
- wsl # Whitespace Linter - Forces you to use empty lines!
- usestdlibvars # A linter that detect the possibility to use variables/constants from the Go standard library.
- interfacebloat # A linter that checks the number of methods inside an interface.
- logrlint # Check logr arguments.
- loggercheck # Check logr arguments.
- reassign # Checks that package variables are not reassigne
- musttag # linter that enforces field tags in (un)marshaled structslinter that enforces field tags in (un)marshaled structs
- dupword # checks for duplicate words in the source code comments.
Expand All @@ -183,6 +179,8 @@ linters:
- perfsprint
- sloglint
- testifylint
- fatcontext
- canonicalheader

issues:
exclude-use-default: false
Expand Down Expand Up @@ -210,7 +208,7 @@ issues:
- goerr113
- path: mock
linters:
- gomnd
- mnd
- revive
- gocyclo
- errcheck
Expand Down
25 changes: 14 additions & 11 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module github.com/adrianbrad/psqldocker

go 1.20
go 1.21

toolchain go1.22.2

require (
github.com/jackc/pgx/v5 v5.5.5
Expand All @@ -11,12 +13,12 @@ require (
require (
dario.cat/mergo v1.0.0 // indirect
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect
github.com/Microsoft/go-winio v0.6.1 // indirect
github.com/Microsoft/go-winio v0.6.2 // indirect
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 // indirect
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
github.com/containerd/continuity v0.4.3 // indirect
github.com/docker/cli v25.0.4+incompatible // indirect
github.com/docker/docker v25.0.5+incompatible // indirect
github.com/docker/cli v26.1.1+incompatible // indirect
github.com/docker/docker v26.1.1+incompatible // indirect
github.com/docker/go-connections v0.5.0 // indirect
github.com/docker/go-units v0.5.0 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
Expand All @@ -27,6 +29,7 @@ require (
github.com/kr/text v0.2.0 // indirect
github.com/lib/pq v1.10.7 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/moby/docker-image-spec v1.3.1 // indirect
github.com/moby/term v0.5.0 // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/opencontainers/image-spec v1.1.0 // indirect
Expand All @@ -37,11 +40,11 @@ require (
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
golang.org/x/crypto v0.21.0 // indirect
golang.org/x/mod v0.16.0 // indirect
golang.org/x/sync v0.6.0 // indirect
golang.org/x/sys v0.18.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/tools v0.19.0 // indirect
golang.org/x/crypto v0.22.0 // indirect
golang.org/x/mod v0.17.0 // indirect
golang.org/x/sync v0.7.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.15.0 // indirect
golang.org/x/tools v0.20.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
)
22 changes: 22 additions & 0 deletions go.sum

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

0 comments on commit 03a414d

Please sign in to comment.