diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2023-01-26 22:45:39 -0700 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2023-01-29 02:14:51 -0700 |
commit | c14af2a4eb80811e8fb25502b4a07ad2f33804c2 (patch) | |
tree | 02c0661b262e4014dbec808d794b19660068d2fd /compat/json/compat.go | |
parent | 5f6408eef2499b1ed35e215c581647d78dca1557 (diff) |
.golangci.yml: Turn on formatting linters 'gci' and 'gofumpt', fix
All formatting changes are made by
./tools/bin/golangci-lint run --fix ./...
Diffstat (limited to 'compat/json/compat.go')
-rw-r--r-- | compat/json/compat.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compat/json/compat.go b/compat/json/compat.go index f8b23e3..fb4fc90 100644 --- a/compat/json/compat.go +++ b/compat/json/compat.go @@ -22,14 +22,14 @@ type ( Unmarshaler = json.Unmarshaler // low-level decode errors - //SyntaxError = json.SyntaxError // duplicated to access a private field + // SyntaxError = json.SyntaxError // duplicated to access a private field UnmarshalTypeError = json.UnmarshalTypeError // high-level decode errors InvalidUnmarshalError = json.InvalidUnmarshalError // marshal errors - //MarshalerError = json.MarshalerError // duplicated to access a private field + // MarshalerError = json.MarshalerError // duplicated to access a private field UnsupportedTypeError = json.UnsupportedTypeError UnsupportedValueError = json.UnsupportedValueError ) @@ -241,4 +241,4 @@ func (dec *Decoder) Buffered() io.Reader { return bytes.NewReader(dat) } -//func (dec *Decoder) Token() (Token, error) +// func (dec *Decoder) Token() (Token, error) |