-
Notifications
You must be signed in to change notification settings - Fork 3
/
gHashMap.go
59 lines (44 loc) · 1.53 KB
/
gHashMap.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
package mapKit
import "github.com/gogf/gf/v2/container/gmap"
func NewAnyAnyMap(safe ...bool) *gmap.AnyAnyMap {
return gmap.NewAnyAnyMap(safe...)
}
func NewAnyAnyMapFrom(data map[interface{}]interface{}, safe ...bool) *gmap.AnyAnyMap {
return gmap.NewAnyAnyMapFrom(data, safe...)
}
func NewIntAnyMap(safe ...bool) *gmap.IntAnyMap {
return gmap.NewIntAnyMap(safe...)
}
func NewIntAnyMapFrom(data map[int]interface{}, safe ...bool) *gmap.IntAnyMap {
return gmap.NewIntAnyMapFrom(data, safe...)
}
func NewStrAnyMap(safe ...bool) *gmap.StrAnyMap {
return gmap.NewStrAnyMap(safe...)
}
func NewStrAnyMapFrom(data map[string]interface{}, safe ...bool) *gmap.StrAnyMap {
return gmap.NewStrAnyMapFrom(data, safe...)
}
func NewIntIntMap(safe ...bool) *gmap.IntIntMap {
return gmap.NewIntIntMap(safe...)
}
func NewIntIntMapFrom(data map[int]int, safe ...bool) *gmap.IntIntMap {
return gmap.NewIntIntMapFrom(data, safe...)
}
func NewStrStrMap(safe ...bool) *gmap.StrStrMap {
return gmap.NewStrStrMap(safe...)
}
func NewStrStrMapFrom(data map[string]string, safe ...bool) *gmap.StrStrMap {
return gmap.NewStrStrMapFrom(data, safe...)
}
func NewIntStrMap(safe ...bool) *gmap.IntStrMap {
return gmap.NewIntStrMap(safe...)
}
func NewIntStrMapFrom(data map[int]string, safe ...bool) *gmap.IntStrMap {
return gmap.NewIntStrMapFrom(data, safe...)
}
func NewStrIntMap(safe ...bool) *gmap.StrIntMap {
return gmap.NewStrIntMap(safe...)
}
func NewStrIntMapFrom(data map[string]int, safe ...bool) *gmap.StrIntMap {
return gmap.NewStrIntMapFrom(data, safe...)
}