uid

package module
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2020 License: MIT Imports: 11 Imported by: 1

README

uid

generate unique id

format

8 bytes of time (ns) + 1 bytes of version + first 3 bytes of md5(Machine hostname) + 2 byes of pid + 8 random bytes

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UUID

type UUID [22]byte

func New

func New() UUID

func (UUID) String

func (u UUID) String() string

Jump to

Keyboard shortcuts

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