Skip to content

Commit 50ec30e

Browse files
author
Gusted
committed
Make gitea, gitea-vet future-proof
- Ref: https://gitea.com/gitea/gitea-vet/pulls/18
1 parent 5ff899d commit 50ec30e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ For imports you should use the following format (_without_ the comments)
141141
```go
142142
import (
143143
// stdlib
144-
"encoding/json"
144+
"math"
145145
"fmt"
146146

147147
// local packages

modules/json/json.go

Lines changed: 1 addition & 0 deletions
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)