File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11
11
12
12
``` go
13
13
import (
14
- " github.com/orcaman/concurrent-map"
14
+ " github.com/orcaman/concurrent-map/v2 "
15
15
)
16
16
17
17
```
18
18
19
19
``` bash
20
- go get " github.com/orcaman/concurrent-map"
20
+ go get " github.com/orcaman/concurrent-map/v2 "
21
21
```
22
22
23
23
现在包被导入到了` cmap ` 命名空间下
@@ -46,7 +46,7 @@ go get "github.com/orcaman/concurrent-map"
46
46
运行测试:
47
47
48
48
``` bash
49
- go test " github.com/orcaman/concurrent-map"
49
+ go test " github.com/orcaman/concurrent-map/v2 "
50
50
```
51
51
52
52
## 贡献说明
Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ Import the package:
10
10
11
11
``` go
12
12
import (
13
- " github.com/orcaman/concurrent-map"
13
+ " github.com/orcaman/concurrent-map/v2 "
14
14
)
15
15
16
16
```
17
17
18
18
``` bash
19
- go get " github.com/orcaman/concurrent-map"
19
+ go get " github.com/orcaman/concurrent-map/v2 "
20
20
```
21
21
22
22
The package is now imported under the "cmap" namespace.
@@ -44,7 +44,7 @@ For more examples have a look at concurrent_map_test.go.
44
44
Running tests:
45
45
46
46
``` bash
47
- go test " github.com/orcaman/concurrent-map"
47
+ go test " github.com/orcaman/concurrent-map/v2 "
48
48
```
49
49
50
50
## guidelines for contributing
You can’t perform that action at this time.
0 commit comments