Skip to content

Commit 1ddfa59

Browse files
Gustedzeripath
Gusted
andauthored
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 <[email protected]>
1 parent a82fd98 commit 1ddfa59

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ For imports you should use the following format (_without_ the comments)
141141
```go
142142
import (
143143
// stdlib
144-
"encoding/json"
145144
"fmt"
145+
"math"
146146

147147
// local packages
148148
"code.gitea.io/gitea/models"

modules/json/json.go

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
package json
66

7+
// Allow "encoding/json" import.
78
import (
89
"bytes"
910
"encoding/binary"

0 commit comments

Comments
 (0)