Update golangci-lint to 1.40.1

This commit is contained in:
9seconds
2021-05-17 15:26:16 +03:00
parent 4c8925ab65
commit e1864377c2
21 changed files with 147 additions and 76 deletions
+2 -2
View File
@@ -42,7 +42,7 @@ func (suite *NetworkTestSuite) TestLocalHTTPRequest() {
jsonStruct := struct {
Headers struct {
UserAgent []string `json:"User-Agent"`
UserAgent []string `json:"User-Agent"` // nolint: tagliatelle
} `json:"headers"`
}{}
@@ -67,7 +67,7 @@ func (suite *NetworkTestSuite) TestRealHTTPRequest() {
jsonStruct := struct {
Headers struct {
UserAgent string `json:"User-Agent"`
UserAgent string `json:"User-Agent"` // nolint: tagliatelle
} `json:"headers"`
}{}