[#27] util/proto: Fix staticcheck warning

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
feature/40-autogen_marsh/refs_grpc
Evgenii Stratonikov 2023-05-03 14:09:59 +03:00
parent 2aa3ee46e7
commit e9e7901f67
1 changed files with 2 additions and 2 deletions

View File

@ -37,8 +37,8 @@ type stableRepPrimitives struct {
const (
ENUM_UNKNOWN SomeEnum = 0
ENUM_POSITIVE = 1
ENUM_NEGATIVE = -1
ENUM_POSITIVE SomeEnum = 1
ENUM_NEGATIVE SomeEnum = -1
)
func (s *stablePrimitives) stableMarshal(buf []byte, wrongField bool) ([]byte, error) {