summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@datawire.io>2022-08-17 19:20:52 -0600
committerLuke Shumaker <lukeshu@datawire.io>2022-08-17 19:20:52 -0600
commitb2bf19e062ad1ce46dbf9107f5c3b47354f64d03 (patch)
tree742b1cd56b7e008312cf0fe582e077696232a594 /compat
parentcbd5679fa554573506318deb62f5648dbffe027e (diff)
Get the linter passing (even if it means ignoring borrowed files)
Diffstat (limited to 'compat')
-rw-r--r--compat/json/compat.go10
1 files changed, 4 insertions, 6 deletions
diff --git a/compat/json/compat.go b/compat/json/compat.go
index 42dd807..802d4ef 100644
--- a/compat/json/compat.go
+++ b/compat/json/compat.go
@@ -21,16 +21,14 @@ type (
RawMessage = json.RawMessage
// low-level decode errors
- //SyntaxError = lowmemjson.DecodeSyntaxError // expose a field
- UnmarshalFieldError = json.UnmarshalFieldError
- UnmarshalTypeError = json.UnmarshalTypeError // lowmemjson.DecodeTypeError
+ //SyntaxError = json.SyntaxError // duplicated to access a private field
+ UnmarshalTypeError = json.UnmarshalTypeError
// high-level decode errors
- InvalidUnmarshalError = json.InvalidUnmarshalError // lowmemjson.DecodeArgumentError
+ InvalidUnmarshalError = json.InvalidUnmarshalError
// marshal errors
- InvalidUTF8Error = json.InvalidUTF8Error
- //MarshalerError = lowmemjson.EncodeMethodError // expose a field
+ //MarshalerError = json.MarshalerError // duplicated to access a private field
UnsupportedTypeError = json.UnsupportedTypeError
UnsupportedValueError = json.UnsupportedValueError
)