uuid

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: MIT Imports: 1 Imported by: 4

Documentation

Overview

Package uuid is a wrapper to github.com/google/uuid

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