diff options
author | Gusted <williamzijl7@hotmail.com> | 2021-12-17 02:15:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-17 09:15:02 +0800 |
commit | dab28c7049bdcf0da2b5c907e610c6a502fa37ac (patch) | |
tree | 7af3dfc49ab45a7381a98e05dda00766f7de0f3b /modules/updatechecker | |
parent | 83546707085af9b59bdefdfbb2dc5511dadb57d7 (diff) | |
download | gitea-dab28c7049bdcf0da2b5c907e610c6a502fa37ac.tar.gz gitea-dab28c7049bdcf0da2b5c907e610c6a502fa37ac.zip |
Use JSON module instead of stdlib json (#18003)
Diffstat (limited to 'modules/updatechecker')
-rw-r--r-- | modules/updatechecker/update_checker.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/updatechecker/update_checker.go b/modules/updatechecker/update_checker.go index 01242189fa..6c43309c1e 100644 --- a/modules/updatechecker/update_checker.go +++ b/modules/updatechecker/update_checker.go @@ -5,11 +5,11 @@ package updatechecker import ( - "encoding/json" "io/ioutil" "net/http" "code.gitea.io/gitea/modules/appstate" + "code.gitea.io/gitea/modules/json" "code.gitea.io/gitea/modules/proxy" "code.gitea.io/gitea/modules/setting" |