mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-23 01:57:55 +08:00
fix format style
This commit is contained in:
parent
b5eaa4de67
commit
4a1e3aa8b7
@ -10,11 +10,11 @@ import "encoding/json"
|
|||||||
|
|
||||||
var (
|
var (
|
||||||
// Marshal is exported by gin/json package.
|
// Marshal is exported by gin/json package.
|
||||||
Marshal = json.Marshal
|
Marshal = json.Marshal
|
||||||
// MarshalIndent is exported by gin/json package.
|
// MarshalIndent is exported by gin/json package.
|
||||||
MarshalIndent = json.MarshalIndent
|
MarshalIndent = json.MarshalIndent
|
||||||
// NewDecoder is exported by gin/json package.
|
// NewDecoder is exported by gin/json package.
|
||||||
NewDecoder = json.NewDecoder
|
NewDecoder = json.NewDecoder
|
||||||
// NewEncoder is exported by gin/json package.
|
// NewEncoder is exported by gin/json package.
|
||||||
NewEncoder = json.NewEncoder
|
NewEncoder = json.NewEncoder
|
||||||
)
|
)
|
||||||
|
@ -9,13 +9,13 @@ package json
|
|||||||
import "github.com/json-iterator/go"
|
import "github.com/json-iterator/go"
|
||||||
|
|
||||||
var (
|
var (
|
||||||
json = jsoniter.ConfigCompatibleWithStandardLibrary
|
json = jsoniter.ConfigCompatibleWithStandardLibrary
|
||||||
// Marshal is exported by gin/json package.
|
// Marshal is exported by gin/json package.
|
||||||
Marshal = json.Marshal
|
Marshal = json.Marshal
|
||||||
// MarshalIndent is exported by gin/json package.
|
// MarshalIndent is exported by gin/json package.
|
||||||
MarshalIndent = json.MarshalIndent
|
MarshalIndent = json.MarshalIndent
|
||||||
// NewDecoder is exported by gin/json package.
|
// NewDecoder is exported by gin/json package.
|
||||||
NewDecoder = json.NewDecoder
|
NewDecoder = json.NewDecoder
|
||||||
// NewEncoder is exported by gin/json package.
|
// NewEncoder is exported by gin/json package.
|
||||||
NewEncoder = json.NewEncoder
|
NewEncoder = json.NewEncoder
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user