uuid

package
v1.12.5 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2019 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal

func Equal(u UUID, u2 UUID) bool

For satori backcompat BUG(sungo)

Types

type UUID

type UUID struct {
	// contains filtered or unexported fields
}

func FromString

func FromString(str string) (UUID, error)

func New

func New() UUID

func NewV4

func NewV4() UUID

func (UUID) Equal

func (u UUID) Equal(u2 UUID) bool

func (UUID) IsZero

func (u UUID) IsZero() bool

func (UUID) MarshalJSON

func (u UUID) MarshalJSON() ([]byte, error)

func (UUID) String

func (u UUID) String() string

func (*UUID) UnmarshalJSON

func (u *UUID) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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