From bf16bbfe470b39d0c45159611ee7c50c7845e549 Mon Sep 17 00:00:00 2001 From: Pat Garrity Date: Sat, 27 Apr 2024 01:25:31 +0000 Subject: [PATCH] (patch) Update documentation, force release. (#10) Reviewed-on: https://git.garrity.co/garrity-software/gs-uuid/pulls/10 --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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)?