diff --git a/README.md b/README.md index 45d861c..35c4c85 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,18 @@ val GsUuid: ModuleID = "gs" %% "gs-uuid-v0" % "$VERSION" ``` +### Type + +```scala +import gs.uuid.v0.UUID + +given UUID.Generator = UUID.Generator.version7 + +val id = UUID.generate() + +println(id.str()) // 292c9bc70d0f4d998053d7b2f72cd9b7 +``` + ## Donate Enjoy this project or want to help me achieve my [goals](https://garrity.co)?