Skip to content

Commit 9e72b0e

Browse files
committed
Completed README file.
1 parent 6007927 commit 9e72b0e

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,16 @@ The ```cuid`` package provides collision-resistant ids optimized for horizontal
1010

1111
ch72gsb320000udocl363eofy
1212

13+
# Installation
14+
15+
**HEAD:**
16+
17+
```go get github.com/lucsky/cuid```
18+
19+
**v1.0.0:**
20+
21+
```go get gopkg.in/lucsky/cuid.v1```
22+
1323
## Example usage
1424

1525
```Go
@@ -25,4 +35,4 @@ func main() {
2535

2636
## Go package specific features
2737

28-
The Go cuid package provides APIs to specify a custom random source as well as a custom counter source.
38+
The Go cuid package provides APIs to specify a custom random source as well as a custom counter. A custom counter implementation could provide a centralized Redis base counter, for example.

0 commit comments

Comments
 (0)