forked from gitea/gitea
1
0
Fork 0

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>
This commit is contained in:
Gusted 2022-01-22 21:59:34 +00:00 committed by GitHub
parent a82fd98d53
commit 1ddfa596c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -141,8 +141,8 @@ For imports you should use the following format (_without_ the comments)
```go
import (
// stdlib
"encoding/json"
"fmt"
"math"
// local packages
"code.gitea.io/gitea/models"

View File

@ -4,6 +4,7 @@
package json
// Allow "encoding/json" import.
import (
"bytes"
"encoding/binary"