uuid

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2026 License: MIT Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UUID

type UUID = uuid.UUID

UUID aliases the uuid.

func MustNewV7

func MustNewV7() UUID

MustNewV7 returns a new v7 uuid or panics if an error occurs.

func MustParse

func MustParse(s string) UUID

MustParse parses a UUID from string or panics if an error occurs.

func NewV5

func NewV5(ns UUID, name string) UUID

NewV5 returns a new v5 uuid using SHA-1 hashing.

func NewV7

func NewV7() (UUID, error)

NewV7 returns a new v7 uuid.

func Parse

func Parse(s string) (UUID, error)

Parse parses a UUID from string.

Jump to

Keyboard shortcuts

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