Documentation
¶
Overview ¶
Package uuid provides functions to generate RFC 4122 UUIDs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(db *sqlite3.Conn) error
Register registers the SQL functions:
- uuid([ version [, domain/namespace, [ id/data ]]]): to generate a UUID as a string
- uuid_str(u): to convert a UUID into a well-formed UUID string
- uuid_blob(u): to convert a UUID into a 16-byte blob
- uuid_extract_version(u): to extract the version of a RFC 4122 UUID
- uuid_extract_timestamp(u): to extract the timestamp of a version 1/2/6/7 UUID
- gen_random_uuid(u): to generate a version 4 (random) UUID
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.