diff options
author | Pavlo Strokov <pstrokov@gitlab.com> | 2021-07-27 17:54:27 +0300 |
---|---|---|
committer | Pavlo Strokov <pstrokov@gitlab.com> | 2021-07-28 16:01:56 +0300 |
commit | 9bbb9ca9aa431a1b7965fd9a2c71cd479dd7e9a7 (patch) | |
tree | 64223744aa0e446d44b0eb93c55b018e580427cc /.golangci.yml | |
parent | 21ea470ba6370188bc16be618cc3543cc51ad10c (diff) |
lint: Fix deprecated import github.com/golang/protobuf/proto
The dependency github.com/golang/protobuf is deprecated and should
be replaced with google.golang.org/protobuf.
This change replaces usage of the proto package. The packages have
incompatible API that is why the code changes were done to migrate.
The exclusion rule removed from the golanci-lint tool configuration
file to prevent future use of the deprecated package.
Diffstat (limited to '.golangci.yml')
-rw-r--r-- | .golangci.yml | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/.golangci.yml b/.golangci.yml index 94d543d4f..a07887ff4 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -705,9 +705,6 @@ issues: ## BEGIN staticcheck exclusions - linters: - staticcheck - text: "package github.com/golang/protobuf/proto is deprecated" - - linters: - - staticcheck text: "package github.com/golang/protobuf/ptypes is deprecated" - linters: - staticcheck |