/uuidv4

UUID v4 (48 B / 1 alloc)

Primary LanguageGoThe UnlicenseUnlicense

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