ids

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2017 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base64ToUUID

func Base64ToUUID(b64 string) (uuid.UUID, error)

Base64ToUUID attempts to convert a base64 encoded string into a UUID.

func ParseID

func ParseID(in string) (uuid.UUID, error)

ParseID attempts to convert the given string to a UUID. The input can be either a standard UUID text representation, or base64 (URL format) encoded bytes.

func ToBase64

func ToBase64(id uuid.UUID) string

ToBase64 returns the given UUID as a base64 (URL format) encoded string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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