You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,16 @@ The ```cuid`` package provides collision-resistant ids optimized for horizontal
10
10
11
11
ch72gsb320000udocl363eofy
12
12
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
+
13
23
## Example usage
14
24
15
25
```Go
@@ -25,4 +35,4 @@ func main() {
25
35
26
36
## Go package specific features
27
37
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