- 添加Struct2MapByJson

- 去掉将全局structs.DefaultTagName设置为"json"
This commit is contained in:
gazebo
2019-03-27 22:42:35 +08:00
parent 11c6386331
commit ea13a07fea
10 changed files with 26 additions and 23 deletions

View File

@@ -11,7 +11,7 @@ import (
"unicode/utf8"
"git.rosy.net.cn/baseapi"
"github.com/satori/go.uuid"
uuid "github.com/satori/go.uuid"
)
func DictKeysMan(data interface{}, keysToRemove []string, keysToKeep []string) interface{} {