Skip to content

Commit

Permalink
Use JSON module instead of stdlib json (#18003)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gusted committed Dec 17, 2021
1 parent 8354670 commit dab28c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/updatechecker/update_checker.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion routers/web/repo/projects.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
package repo

import (
"encoding/json"
"fmt"
"net/http"
"net/url"
Expand All @@ -16,6 +15,7 @@ import (
"code.gitea.io/gitea/models/unit"
"code.gitea.io/gitea/modules/base"
"code.gitea.io/gitea/modules/context"
"code.gitea.io/gitea/modules/json"
"code.gitea.io/gitea/modules/markup"
"code.gitea.io/gitea/modules/markup/markdown"
"code.gitea.io/gitea/modules/setting"
Expand Down

0 comments on commit dab28c7

Please sign in to comment.