Help us shape the future of Go! Take the 2026 Go Developer Survey

uuid

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BILLION = 1000000000
)

Variables

This section is empty.

Functions

func New

func New(r io.Reader) (string, error)

New Create a version 4 random UUID

func Parse

func Parse(s string) (map[string]any, error)

Parse will use the google/uuid library to parse the string into a uuid if parsing fails, it will return an empty map. It will fill the map with some decoded values with fillMap ref: https://datatracker.ietf.org/doc/html/rfc4122

Types

This section is empty.

Jump to

Keyboard shortcuts

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