From 41753f82ae3c410a28e66562c285831ddc3b0b9a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 28 May 2023 11:56:47 +0000 Subject: [PATCH 1/2] build(deps): bump go.tmz.dev/musttag from 0.6.1 to 0.7.0 Bumps [go.tmz.dev/musttag](https://github.com/tmzane/musttag) from 0.6.1 to 0.7.0. - [Release notes](https://github.com/tmzane/musttag/releases) - [Changelog](https://github.com/tmzane/musttag/blob/main/.goreleaser.yml) - [Commits](https://github.com/tmzane/musttag/compare/v0.6.1...v0.7.0) --- updated-dependencies: - dependency-name: go.tmz.dev/musttag dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 073f06e66787..65013730a131 100644 --- a/go.mod +++ b/go.mod @@ -112,7 +112,7 @@ require ( github.com/yeya24/promlinter v0.2.0 github.com/ykadowak/zerologlint v0.1.1 gitlab.com/bosi/decorder v0.2.3 - go.tmz.dev/musttag v0.6.1 + go.tmz.dev/musttag v0.7.0 golang.org/x/exp v0.0.0-20230510235704-dd950f8aeaea golang.org/x/tools v0.9.1 gopkg.in/yaml.v3 v3.0.1 diff --git a/go.sum b/go.sum index 9e215c5b8cab..1f709b3df6b9 100644 --- a/go.sum +++ b/go.sum @@ -583,8 +583,8 @@ go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= -go.tmz.dev/musttag v0.6.1 h1:IPOiaxSp47F2ex99ZnH3HpQn6Rv3IEZ1CdJD2rhxs9Q= -go.tmz.dev/musttag v0.6.1/go.mod h1:PG/YreEKBX4f6kRMp+tNSlv67ABaT1wPQCDdPSZYREo= +go.tmz.dev/musttag v0.7.0 h1:QfytzjTWGXZmChoX0L++7uQN+yRCPfyFm+whsM+lfGc= +go.tmz.dev/musttag v0.7.0/go.mod h1:oTFPvgOkJmp5kYL02S8+jrH0eLrBIl57rzWeA26zDEM= go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw= go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= go.uber.org/goleak v1.1.11 h1:wy28qYRKZgnJTxGxvye5/wgWr1EKjmUDGYox5mGlRlI= From da10af7ea6d78856afe53921983df6e8c23c24a8 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Sun, 28 May 2023 14:50:14 +0200 Subject: [PATCH 2/2] chore: update doc --- .golangci.reference.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.golangci.reference.yml b/.golangci.reference.yml index f9d32984e874..29d4414c1a33 100644 --- a/.golangci.reference.yml +++ b/.golangci.reference.yml @@ -1244,14 +1244,14 @@ linters-settings: musttag: # A set of custom functions to check in addition to the builtin ones. - # Default: json, xml, gopkg.in/yaml.v3, BurntSushi/toml, mitchellh/mapstructure + # Default: json, xml, gopkg.in/yaml.v3, BurntSushi/toml, mitchellh/mapstructure, jmoiron/sqlx functions: # The full name of the function, including the package. - - name: github.com/jmoiron/sqlx.Get + - name: github.com/hashicorp/hcl/v2/hclsimple.DecodeFile # The struct tag whose presence should be ensured. - tag: db + tag: hcl # The position of the argument to check. - arg-pos: 1 + arg-pos: 2 nakedret: # Make an issue if func has more lines of code than this setting, and it has naked returns.