Skip to content

Commit fa939a3

Browse files
committed
Updates readme and changelog
1 parent a047d3d commit fa939a3

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ under MIT License (same as the original implementations)
99
Original implementations by [Ivan Akimov](https://github.com/ivanakimov)
1010

1111
### Setup
12-
<pre>go get github.com/speps/go-hashids</pre>
12+
<pre>go get github.com/speps/go-hashids/v2</pre>
1313

1414
CLI tool :
1515

16-
<pre>go get github.com/speps/go-hashids/cmd/hashid</pre>
16+
<pre>go get github.com/speps/go-hashids/v2/cmd/hashid</pre>
1717

1818
### Example
1919
```go
2020
package main
2121

2222
import "fmt"
23-
import "github.com/speps/go-hashids"
23+
import "github.com/speps/go-hashids/v2"
2424

2525
func main() {
2626
hd := hashids.NewData()
@@ -54,6 +54,10 @@ Let me know if I forgot anyone of course.
5454

5555
### Changelog
5656

57+
2021/05/04
58+
59+
* v2.0.1 - Added module support with /v2 suffix
60+
5761
2017/05/09
5862

5963
* Changed API

0 commit comments

Comments
 (0)