summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-01-26 23:36:55 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2023-01-29 02:14:51 -0700
commit690b0cbb2a220ef4179a0f9f34725328fb8c73f8 (patch)
tree31ecd27ad55cebc5a5e440dff4ddb36834d6aa94 /compat
parentb0b7c75e9e2ee8c80a82a04562a1a7c7d117ae0e (diff)
.golangci.yml: Turn on 'godot', fix
Diffstat (limited to 'compat')
-rw-r--r--compat/json/compat.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/compat/json/compat.go b/compat/json/compat.go
index fb4fc90..f6ef2f1 100644
--- a/compat/json/compat.go
+++ b/compat/json/compat.go
@@ -21,17 +21,17 @@ type (
Marshaler = json.Marshaler
Unmarshaler = json.Unmarshaler
- // low-level decode errors
- // SyntaxError = json.SyntaxError // duplicated to access a private field
+ // low-level decode errors.
UnmarshalTypeError = json.UnmarshalTypeError
+ // SyntaxError = json.SyntaxError // Duplicated to access a private field.
- // high-level decode errors
+ // high-level decode errors.
InvalidUnmarshalError = json.InvalidUnmarshalError
- // marshal errors
- // MarshalerError = json.MarshalerError // duplicated to access a private field
+ // marshal errors.
UnsupportedTypeError = json.UnsupportedTypeError
UnsupportedValueError = json.UnsupportedValueError
+ // MarshalerError = json.MarshalerError // Duplicated to access a private field.
)
// Encode wrappers ///////////////////////////////////////////////////