Skip to content

Commit

Permalink
chore(golint): nolint to prevent not implemented for type: *ast.Array…
Browse files Browse the repository at this point in the history
…Type
  • Loading branch information
m4mm4r committed Mar 19, 2024
1 parent bebb969 commit 3f2567f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions encoding/protobq/unmarshal.go
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,8 @@ 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)
}
Expand Down

0 comments on commit 3f2567f

Please sign in to comment.