uuid

package
v0.0.0-...-c5655c4 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2017 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsShrunkUUID

func IsShrunkUUID(s string) (bool, error)

IsShrunkUUID returns true if the UUID is in the shrunk format

func IsUUID

func IsUUID(s string) (bool, error)

IsUUID returns a true if the string is UUID. Uses regular expression to validate the input string.

func ShrinkUUID

func ShrinkUUID(id string) string

ShrinkUUID reduces the UUID from 32 char long string to 12 char long ID Note: Default UUID size is 32 + 4 DASHES

Types

This section is empty.

Jump to

Keyboard shortcuts

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