Skip to content

Commit 3dfd6ea

Browse files
committed
fix import path
1 parent cbf2757 commit 3dfd6ea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Fast resizable golang semaphore based on CAS
1717
### Usage
1818
Initiate
1919
```go
20-
import "github.com/marusama/semaphore"
20+
import "github.com/marusama/semaphore/v2"
2121
...
2222
sem := semaphore.New(5) // new semaphore with limit = 5
2323
```

semaphore.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package semaphore provides an implementation of counting semaphore primitive with possibility to change limit
66
// after creation. This implementation is based on Compare-and-Swap primitive that in general case works faster
77
// than other golang channel-based semaphore implementations.
8-
package semaphore // import "github.com/marusama/semaphore"
8+
package semaphore // import "github.com/marusama/semaphore/v2"
99

1010
import (
1111
"context"

0 commit comments

Comments
 (0)