uuid

package
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package uuid implements convenience functions on top of github.com/google/uuid to create UUIDs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUUID

func NewUUID() (string, error)

Returns a new random UUID (version 4)

func NewUUIDWithPrefix

func NewUUIDWithPrefix(prefix string) (string, error)

Returns a new random UUID prefixed with the given string. The prefix and UUID are separated by a "-" character.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL