summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-01-27 00:17:49 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2023-01-29 02:14:51 -0700
commit2824310168b9dbe24c2d47cfb71d4283b1733642 (patch)
treed69110434583a40e5c3e17af3c5559b4918fb22b /compat
parenta74b77265f6249385c38ba801822561872418fdf (diff)
.golangci.yml: Turn on 'stylecheck', fix
Diffstat (limited to 'compat')
-rw-r--r--compat/json/compat.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/compat/json/compat.go b/compat/json/compat.go
index f6ef2f1..0c9e800 100644
--- a/compat/json/compat.go
+++ b/compat/json/compat.go
@@ -2,6 +2,8 @@
//
// SPDX-License-Identifier: GPL-2.0-or-later
+// Package json is a wrapper around lowmemjson that is a (mostly)
+// drop-in replacement for the standard library's encoding/json.
package json
import (
@@ -15,6 +17,7 @@ import (
"git.lukeshu.com/go/lowmemjson"
)
+//nolint:stylecheck // ST1021 False positive; these aren't comments on individual types.
type (
Number = json.Number
RawMessage = json.RawMessage