From fa04b8ff90c09c71e3ff55f5d59293bc5729a6ed Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 25 Sep 2022 11:05:01 +0000 Subject: [PATCH 1/2] build(deps): bump github.com/sashamelentyev/usestdlibvars Bumps [github.com/sashamelentyev/usestdlibvars](https://github.com/sashamelentyev/usestdlibvars) from 1.19.0 to 1.19.1. - [Release notes](https://github.com/sashamelentyev/usestdlibvars/releases) - [Commits](https://github.com/sashamelentyev/usestdlibvars/compare/v1.19.0...v1.19.1) --- updated-dependencies: - dependency-name: github.com/sashamelentyev/usestdlibvars dependency-type: direct:production update-type: version-update:semver-patch ... 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 b566af9203e7..8fa6d394c87f 100644 --- a/go.mod +++ b/go.mod @@ -79,7 +79,7 @@ require ( github.com/ryanrolds/sqlclosecheck v0.3.0 github.com/sanposhiho/wastedassign/v2 v2.0.6 github.com/sashamelentyev/interfacebloat v1.1.0 - github.com/sashamelentyev/usestdlibvars v1.19.0 + github.com/sashamelentyev/usestdlibvars v1.19.1 github.com/securego/gosec/v2 v2.13.1 github.com/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c github.com/shirou/gopsutil/v3 v3.22.8 diff --git a/go.sum b/go.sum index 1258f8e936a4..ec5b320fa669 100644 --- a/go.sum +++ b/go.sum @@ -468,8 +468,8 @@ github.com/sanposhiho/wastedassign/v2 v2.0.6 h1:+6/hQIHKNJAUixEj6EmOngGIisyeI+T3 github.com/sanposhiho/wastedassign/v2 v2.0.6/go.mod h1:KyZ0MWTwxxBmfwn33zh3k1dmsbF2ud9pAAGfoLfjhtI= github.com/sashamelentyev/interfacebloat v1.1.0 h1:xdRdJp0irL086OyW1H/RTZTr1h/tMEOsumirXcOJqAw= github.com/sashamelentyev/interfacebloat v1.1.0/go.mod h1:+Y9yU5YdTkrNvoX0xHc84dxiN1iBi9+G8zZIhPVoNjQ= -github.com/sashamelentyev/usestdlibvars v1.19.0 h1:xbpkUOXSd0TWpmSSqV4D+iky/oYGqzknSwBs5Nd1CNs= -github.com/sashamelentyev/usestdlibvars v1.19.0/go.mod h1:EuR3x44678JCCOUOLGCc6/XeU5BFEYjcFO+in3qLyLM= +github.com/sashamelentyev/usestdlibvars v1.19.1 h1:/YOXp+aIJAMbe1QUPbAFKNPApPYAC+Lf5pUX7rlGti4= +github.com/sashamelentyev/usestdlibvars v1.19.1/go.mod h1:EuR3x44678JCCOUOLGCc6/XeU5BFEYjcFO+in3qLyLM= github.com/securego/gosec/v2 v2.13.1 h1:7mU32qn2dyC81MH9L2kefnQyRMUarfDER3iQyMHcjYM= github.com/securego/gosec/v2 v2.13.1/go.mod h1:EO1sImBMBWFjOTFzMWfTRrZW6M15gm60ljzrmy/wtHo= github.com/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c h1:W65qqJCIOVP4jpqPQ0YvHYKwcMEMVWIzWC5iNQQfBTU= From 957a38d020eaa14c5d63c9ad00e90179e7b108fa Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Sun, 25 Sep 2022 14:24:43 +0200 Subject: [PATCH 2/2] review --- .golangci.reference.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.golangci.reference.yml b/.golangci.reference.yml index 3f1c2fcc574b..013c7c9779ac 100644 --- a/.golangci.reference.yml +++ b/.golangci.reference.yml @@ -1739,37 +1739,37 @@ linters-settings: begin: false usestdlibvars: - # Suggest the use of http.MethodXX + # Suggest the use of http.MethodXX. # Default: true http-method: false - # Suggest the use of http.StatusXX + # Suggest the use of http.StatusXX. # Default: true http-status-code: false - # Suggest the use of time.Weekday.String() + # Suggest the use of time.Weekday.String(). # Default: true time-weekday: true - # Suggest the use of time.Month.String() + # Suggest the use of time.Month.String(). # Default: false time-month: true - # Suggest the use of time.Layout + # Suggest the use of time.Layout. # Default: false time-layout: true - # Suggest the use of crypto.Hash.String() + # Suggest the use of crypto.Hash.String(). # Default: false crypto-hash: true - # Suggest the use of rpc.DefaultXXPath + # Suggest the use of rpc.DefaultXXPath. # Default: false default-rpc-path: true - # Suggest the use of os.DevNull + # Suggest the use of os.DevNull. # Default: false os-dev-null: true - # Suggest the use of sql.LevelXX.String() + # Suggest the use of sql.LevelXX.String(). # Default: false sql-isolation-level: true - # Suggest the use of tls.SignatureScheme.String() + # Suggest the use of tls.SignatureScheme.String(). # Default: false tls-signature-scheme: true - # suggest the use of constant.Kind.String() + # Suggest the use of constant.Kind.String(). # Default: false constant-kind: true