3
0
mirror of https://github.com/gin-gonic/gin.git synced 2025-04-06 03:57:46 +08:00
田欧 d510595aa5 chore: add some annotations ()
ref:  
because I am not a native English, maybe have a bit problem.
2018-09-15 10:23:32 +08:00

22 lines
600 B
Go

// Copyright 2017 Bo-Yi Wu. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
// +build jsoniter
package json
import "github.com/json-iterator/go"
var (
json = jsoniter.ConfigCompatibleWithStandardLibrary
// Marshal is exported by gin/json package.
Marshal = json.Marshal
// MarshalIndent is exported by gin/json package.
MarshalIndent = json.MarshalIndent
// NewDecoder is exported by gin/json package.
NewDecoder = json.NewDecoder
// NewEncoder is exported by gin/json package.
NewEncoder = json.NewEncoder
)