0
0
mirror of https://github.com/thegeeklab/wp-plugin-go.git synced 2024-11-21 14:10:39 +00:00

chore(deps): update dependency golangci/golangci-lint to v1.56.1 (#56)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
This commit is contained in:
renovate[bot] 2024-02-12 09:25:15 +01:00 committed by GitHub
parent 31d672035c
commit 796cbec0da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# renovate: datasource=github-releases depName=mvdan/gofumpt
GOFUMPT_PACKAGE_VERSION := v0.6.0
# renovate: datasource=github-releases depName=golangci/golangci-lint
GOLANGCI_LINT_PACKAGE_VERSION := v1.55.2
GOLANGCI_LINT_PACKAGE_VERSION := v1.56.1
GO ?= go
PACKAGES ?= $(shell go list ./...)

View File

@ -51,7 +51,7 @@ func Test_currFromContext(t *testing.T) {
options := Options{
Name: "dummy",
Execute: func(ctx context.Context) error { return nil },
Execute: func(_ context.Context) error { return nil },
}
got := New(options)

View File

@ -117,7 +117,7 @@ func NetworkFromContext(ctx *cli.Context) Network {
if contextDialer, ok := proxyDialer.(proxy.ContextDialer); ok {
transport.DialContext = contextDialer.DialContext
} else {
transport.DialContext = func(ctx context.Context, network, addr string) (net.Conn, error) {
transport.DialContext = func(_ context.Context, network, addr string) (net.Conn, error) {
return proxyDialer.Dial(network, addr)
}
}