From 1d635ce1ca5ebc75151028fa83fb3b7dc5981648 Mon Sep 17 00:00:00 2001 From: Mammar Date: Thu, 11 Apr 2024 10:55:43 +0200 Subject: [PATCH] chore: remove protogetter nolint as its patched Issue https://github.com/ghostiam/protogetter/issues/8 has been fixed. Can therefore remove the nolint. --- encoding/protobq/unmarshal.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/encoding/protobq/unmarshal.go b/encoding/protobq/unmarshal.go index d0fded1..87296a6 100644 --- a/encoding/protobq/unmarshal.go +++ b/encoding/protobq/unmarshal.go @@ -477,8 +477,6 @@ func (o UnmarshalOptions) unmarshalStruct(bqValue bigquery.Value) (*structpb.Str return nil, fmt.Errorf("unsupported BigQuery value for %s: %#v", wkt.Struct, bqValue) } var structValue structpb.Struct - // Linter issue https://github.com/ghostiam/protogetter/issues/8 - //nolint:protogetter if err := structValue.UnmarshalJSON([]byte(s)); err != nil { return nil, fmt.Errorf("invalid BigQuery value for %s: %#v: %w", wkt.Struct, bqValue, err) }