jancajthaml-go / uuidv1

UUID v1 (328 B / 17 alloc)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

universally unique identifier

Go Report Card

Algorithm generate 128bit UUID with node and time based randomness in RFC4122 format.

Usage

import "github.com/jancajthaml-go/uuidv1"

uuidv1.Generate()

Performance

  • 328 B/op
  • 17 allocs/op

verify your performance by running make benchmark

Resources

About

UUID v1 (328 B / 17 alloc)

License:The Unlicense


Languages

Language:Go 93.1%Language:Makefile 6.9%