jancajthaml-go / uuidv4

UUID v4 (48 B / 1 alloc)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

universally unique identifier

Go Report Card

Algorithm generate 128bit UUID with cryptographically secure PRNG in RFC4122 format.

Usage

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

uuidv4.Generate()

Performance

  • 48 B/op
  • 1 allocs/op

verify your performance by running make benchmark

Resources

About

UUID v4 (48 B / 1 alloc)

License:The Unlicense


Languages

Language:Go 93.5%Language:Makefile 6.5%