Skip to content

Commit

Permalink
CUID (Version 2) (#3)
Browse files Browse the repository at this point in the history
Resolves: #2
Signed-off-by: Thibault Meyer <[email protected]>
  • Loading branch information
thibaultmeyer committed Dec 31, 2022
1 parent 95e10c6 commit aacb7bb
Show file tree
Hide file tree
Showing 6 changed files with 478 additions and 108 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,15 @@ To speed up process, you can ignore unit tests by using: `-DskipTests=true -Dmav
```

```java
final CUID cuid = CUID.randomCUID();
final CUID cuid = CUID.randomCUID1();
System.out.println("CUID: " + cuid);
```

```java
final CUID cuid = CUID.randomCUID2();
System.out.println("CUID (Version 2): " + cuid);
```

```java
final CUID cuid = CUID.fromString("cl9gts1kw00393647w1z4v2tc");
System.out.println("CUID: " + cuid);
Expand Down
Loading

0 comments on commit aacb7bb

Please sign in to comment.