ids

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package ids provides functions which wrap various ID functions (such as uuidv4, sandid, and shortid)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SandID

func SandID() sandid.SandID

SandID returns a sandid.SandID value.

func SandIDString

func SandIDString() string

SandIDString returns the string representation of the return value of SandID

func ShortID

func ShortID() string

ShortID returns the string representation of a newly generated shortid.ShortID

func UUID

func UUID() string

UUID returns a uuidv4 string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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