fix format style

This commit is contained in:
thinkerou 2018-09-14 10:35:19 +08:00
parent b5eaa4de67
commit 4a1e3aa8b7
2 changed files with 7 additions and 7 deletions

View File

@ -10,11 +10,11 @@ import "encoding/json"
var (
// Marshal is exported by gin/json package.
Marshal = json.Marshal
Marshal = json.Marshal
// MarshalIndent is exported by gin/json package.
MarshalIndent = json.MarshalIndent
// NewDecoder is exported by gin/json package.
NewDecoder = json.NewDecoder
NewDecoder = json.NewDecoder
// NewEncoder is exported by gin/json package.
NewEncoder = json.NewEncoder
NewEncoder = json.NewEncoder
)

View File

@ -9,13 +9,13 @@ package json
import "github.com/json-iterator/go"
var (
json = jsoniter.ConfigCompatibleWithStandardLibrary
json = jsoniter.ConfigCompatibleWithStandardLibrary
// Marshal is exported by gin/json package.
Marshal = json.Marshal
Marshal = json.Marshal
// MarshalIndent is exported by gin/json package.
MarshalIndent = json.MarshalIndent
// NewDecoder is exported by gin/json package.
NewDecoder = json.NewDecoder
NewDecoder = json.NewDecoder
// NewEncoder is exported by gin/json package.
NewEncoder = json.NewEncoder
NewEncoder = json.NewEncoder
)