Skip to content

Commit 36fed83

Browse files
committed
update v2
1 parent b71954e commit 36fed83

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/goextension/extmap
1+
module github.com/goextension/gomap
22

33
go 1.13
44

map.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ import (
44
"encoding/json"
55
"encoding/xml"
66
"errors"
7-
"github.com/fatih/structs"
8-
"github.com/mitchellh/mapstructure"
97
"net/url"
108
"sort"
119
"strings"
10+
11+
"github.com/fatih/structs"
12+
"github.com/mitchellh/mapstructure"
1213
)
1314

1415
//CustomHeader xml header
@@ -21,7 +22,7 @@ type String string
2122
var ErrNilMap = errors.New("nil map")
2223

2324
func init() {
24-
structs.DefaultTagName = "map"
25+
//structs.DefaultTagName = "map"
2526
}
2627

2728
//String String

0 commit comments

Comments
 (0)