Skip to content

Commit f5903d8

Browse files
authored
Merge pull request #116 from JobberRT/update_readme
update url to latest V2 version in README file
2 parents bc50537 + 3ed7cde commit f5903d8

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README-zh.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111

1212
```go
1313
import (
14-
"github.com/orcaman/concurrent-map"
14+
"github.com/orcaman/concurrent-map/v2"
1515
)
1616

1717
```
1818

1919
```bash
20-
go get "github.com/orcaman/concurrent-map"
20+
go get "github.com/orcaman/concurrent-map/v2"
2121
```
2222

2323
现在包被导入到了`cmap`命名空间下
@@ -46,7 +46,7 @@ go get "github.com/orcaman/concurrent-map"
4646
运行测试:
4747

4848
```bash
49-
go test "github.com/orcaman/concurrent-map"
49+
go test "github.com/orcaman/concurrent-map/v2"
5050
```
5151

5252
## 贡献说明

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ Import the package:
1010

1111
```go
1212
import (
13-
"github.com/orcaman/concurrent-map"
13+
"github.com/orcaman/concurrent-map/v2"
1414
)
1515

1616
```
1717

1818
```bash
19-
go get "github.com/orcaman/concurrent-map"
19+
go get "github.com/orcaman/concurrent-map/v2"
2020
```
2121

2222
The package is now imported under the "cmap" namespace.
@@ -44,7 +44,7 @@ For more examples have a look at concurrent_map_test.go.
4444
Running tests:
4545

4646
```bash
47-
go test "github.com/orcaman/concurrent-map"
47+
go test "github.com/orcaman/concurrent-map/v2"
4848
```
4949

5050
## guidelines for contributing

0 commit comments

Comments
 (0)