summaryrefslogtreecommitdiffstats
path: root/modules/json/json.go
diff options
context:
space:
mode:
authorGusted <williamzijl7@hotmail.com>2022-01-22 22:59:34 +0100
committerGitHub <noreply@github.com>2022-01-22 22:59:34 +0100
commit1ddfa596c8d9acb4fa5c04ed25df374b6e51c4b9 (patch)
treea9784ccd9d80d50e339fcd8ee65a6ff87f111c3f /modules/json/json.go
parentPause queues (#15928) (diff)
downloadforgejo-1ddfa596c8d9acb4fa5c04ed25df374b6e51c4b9.tar.xz
forgejo-1ddfa596c8d9acb4fa5c04ed25df374b6e51c4b9.zip
Make gitea, gitea-vet future-proof (#18361)
* Make gitea, gitea-vet future-proof - Ref: https://gitea.com/gitea/gitea-vet/pulls/18 * Correct order Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'modules/json/json.go')
-rw-r--r--modules/json/json.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/json/json.go b/modules/json/json.go
index 1cbb658261..3afa86023c 100644
--- a/modules/json/json.go
+++ b/modules/json/json.go
@@ -4,6 +4,7 @@
package json
+// Allow "encoding/json" import.
import (
"bytes"
"encoding/binary"