summaryrefslogtreecommitdiff
path: root/std/uuid/README.md
diff options
context:
space:
mode:
authorAxetroy <axetroy.dev@gmail.com>2019-12-23 17:36:25 +0800
committerRy Dahl <ry@tinyclouds.org>2019-12-23 04:36:25 -0500
commite88c801e76c16d4c0a92702e248cf811038ed4ab (patch)
treeab3ad00386f3c341e04bed64e8157c78fc9fe7cd /std/uuid/README.md
parentf07ffe89806392698fb8052691b2826f82f15bbe (diff)
std: remove wildcard export in uuid module (#3540)
Diffstat (limited to 'std/uuid/README.md')
-rw-r--r--std/uuid/README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/std/uuid/README.md b/std/uuid/README.md
index 513a6ed53..fc2a10e90 100644
--- a/std/uuid/README.md
+++ b/std/uuid/README.md
@@ -5,11 +5,11 @@ Support for version 1, 3, 4, and 5 UUIDs.
## Usage
```ts
-import uuid, { validate } from "https://deno.land/std/uuid/mod.ts";
+import { v4 } from "https://deno.land/std/uuid/mod.ts";
// Generate a v4 uuid
-const myUUID = uuid();
+const myUUID = v4.generate();
// Validate a v4 uuid
-const isValid = validate(aString);
+const isValid = v4.validate(aString);
```