summaryrefslogtreecommitdiff
path: root/common.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-02-10 15:27:46 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2023-02-10 21:48:22 -0700
commit04daa09e1911d7bdabe87e452200b2de2c5ca7c9 (patch)
tree4e125b226bec6c9ec33335c4d9ff3bdfd874242c /common.go
parent1f0abce0bf4061261572f6ed2f815f71647cc7e5 (diff)
Be more careful about importing encoding/json
Diffstat (limited to 'common.go')
-rw-r--r--common.go16
1 files changed, 0 insertions, 16 deletions
diff --git a/common.go b/common.go
deleted file mode 100644
index 90156b9..0000000
--- a/common.go
+++ /dev/null
@@ -1,16 +0,0 @@
-// Copyright (C) 2022-2023 Luke Shumaker <lukeshu@lukeshu.com>
-//
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-package lowmemjson
-
-import (
- "encoding/json"
- "reflect"
-)
-
-var (
- numberType = reflect.TypeOf(json.Number(""))
- byteType = reflect.TypeOf(byte(0))
- byteSliceType = reflect.TypeOf(([]byte)(nil))
-)