File tree Expand file tree Collapse file tree 6 files changed +10
-5
lines changed Expand file tree Collapse file tree 6 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 77package gmap
88
99import (
10+ "reflect"
11+
1012 "github.com/gogf/gf/v2/container/gvar"
1113 "github.com/gogf/gf/v2/internal/deepcopy"
1214 "github.com/gogf/gf/v2/internal/empty"
1315 "github.com/gogf/gf/v2/internal/json"
1416 "github.com/gogf/gf/v2/internal/rwmutex"
1517 "github.com/gogf/gf/v2/util/gconv"
16- "reflect"
1718)
1819
1920// AnyAnyMap wraps map type `map[interface{}]interface{}` and provides more map features.
Original file line number Diff line number Diff line change 88package gmap
99
1010import (
11+ "reflect"
12+
1113 "github.com/gogf/gf/v2/container/gvar"
1214 "github.com/gogf/gf/v2/internal/deepcopy"
1315 "github.com/gogf/gf/v2/internal/empty"
1416 "github.com/gogf/gf/v2/internal/json"
1517 "github.com/gogf/gf/v2/internal/rwmutex"
1618 "github.com/gogf/gf/v2/util/gconv"
17- "reflect"
1819)
1920
2021// IntAnyMap implements map[int]interface{} with RWMutex that has switch.
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import (
1010 "fmt"
1111
1212 "github.com/emirpasic/gods/trees/redblacktree"
13+
1314 "github.com/gogf/gf/v2/container/gvar"
1415 "github.com/gogf/gf/v2/internal/json"
1516 "github.com/gogf/gf/v2/internal/rwmutex"
Original file line number Diff line number Diff line change 77package gcache
88
99import (
10+ "sync"
11+
1012 "github.com/gogf/gf/v2/container/glist"
1113 "github.com/gogf/gf/v2/container/gmap"
12- "sync"
1314)
1415
1516// memoryLru holds LRU info.
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ package gcache
88
99import (
1010 "context"
11+
1112 "github.com/gogf/gf/v2/util/gconv"
1213)
1314
Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ package gfsnotify
88
99import (
1010 "context"
11- "github.com/gogf/gf/v2/errors/gcode"
12- "github.com/gogf/gf/v2/errors/gerror"
1311
1412 "github.com/gogf/gf/v2/container/glist"
13+ "github.com/gogf/gf/v2/errors/gcode"
14+ "github.com/gogf/gf/v2/errors/gerror"
1515 "github.com/gogf/gf/v2/internal/intlog"
1616)
1717
You can’t perform that action at this time.
0 commit comments