uuid

package
v0.15.5 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2021 License: Apache-2.0 Imports: 1 Imported by: 39

Documentation

Overview

Package UUID provides an easy to replace UUID package. Forks of Event Horizon can re-implement this package with a UUID library of choice.

Index

Constants

This section is empty.

Variables

View Source
var Nil = UUID(uuid.Nil)

Nil is an empty UUID.

Functions

This section is empty.

Types

type UUID

type UUID = uuid.UUID

UUID is an alias type for github.com/google/uuid.UUID.

func MustParse

func MustParse(s string) UUID

MustParse parses a UUID from a string, or panics.

func New

func New() UUID

New creates a new UUID.

func Parse

func Parse(s string) (UUID, error)

Parse parses a UUID from a string, or returns an error.

Jump to

Keyboard shortcuts

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