uuid

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2019 License: MIT Imports: 1 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValid

func IsValid(value string) bool

Types

type UUID

type UUID string
const EmptyUUID UUID = UUID("00000000-0000-0000-0000-000000000000")

func New

func New() UUID

New returns a random UUID

func (UUID) IsValid

func (uuid UUID) IsValid() bool

func (UUID) String

func (uuid UUID) String() string

func (UUID) StringPtr

func (uuid UUID) StringPtr() *string

func (UUID) Validate

func (uuid UUID) Validate() (err error)

Jump to

Keyboard shortcuts

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