fix json sort the map keys

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu
2017-07-08 18:19:09 +08:00
parent cb524fc94e
commit e23842ecab
5 changed files with 12 additions and 7 deletions

View File

@ -7,9 +7,11 @@ package binding
import (
"net/http"
json "github.com/json-iterator/go"
"github.com/json-iterator/go"
)
var json = jsoniter.ConfigCompatibleWithStandardLibrary
type jsonBinding struct{}
func (jsonBinding) Name() string {