diff --git a/.golangci.yml b/.golangci.yml index 5c799f0..9f94a49 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -6,16 +6,16 @@ linters: disable-all: true enable: # Enabled by default - - deadcode + # - deadcode # - errcheck - gosimple - govet - ineffassign - staticcheck - - structcheck + # - structcheck - typecheck - unused - - varcheck + # - varcheck # Disabled by default - asciicheck diff --git a/internal/bigquery/storage/encoding/schema.go b/internal/bigquery/storage/encoding/schema.go index 2323564..36e07ba 100644 --- a/internal/bigquery/storage/encoding/schema.go +++ b/internal/bigquery/storage/encoding/schema.go @@ -36,14 +36,14 @@ import ( // this Encoder requires a lot of recflection as well as some possibly some extra trial-and-error. // // The following values can be encoded: -// - []byte, expected to be a Json encoded message from which it will proto-encode -// using a json-driven decoder (see the official protobuf protojson package); -// - JsonMarshaler, which will be Json-encoded to []byte -// and follow the same path as previous option from here; -// - string, expected to be a Text (human-friendly) encoded message from which it will -// proto-encode using a text-driven decoder (see the official protobuf prototext package); -// - Stringer, which will be stringified to string -// and follow the same path as previous option here; +// - []byte, expected to be a Json encoded message from which it will proto-encode +// using a json-driven decoder (see the official protobuf protojson package); +// - JsonMarshaler, which will be Json-encoded to []byte +// and follow the same path as previous option from here; +// - string, expected to be a Text (human-friendly) encoded message from which it will +// proto-encode using a text-driven decoder (see the official protobuf prototext package); +// - Stringer, which will be stringified to string +// and follow the same path as previous option here; // // Any value of a type different than the ones listed above will be attempted to be encoded // using the bigquery.StructSaver in order to be able to via that long road to Json-Encode