Skip to content
A UUIDv4 generation package written in go
Go
Branch: master
Clone or download
Latest commit 1c47118 Feb 18, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd fixed cmd module to ref goid v1.0.0 Oct 10, 2018
.gitignore
go.mod Various fixes & changes. 1.0 Ready Oct 10, 2018
goid.go Added equals operator and refined other elements of the pkg Oct 11, 2018
goid_test.go
license Added license May 29, 2017
readme.md Tidied up readme Feb 18, 2019

readme.md

Goid

A Go package to generate V4 UUIDs

Go Report Card cover.run Go Docs

Documentation

The API docs can be viewed here or generated with godoc.

Usage

An example of generating a v4 UUID and outputting it

import (
    "fmt"
    "github.com/jakehl/goid"
)

func main() {
    v4UUID := goid.NewV4UUID()
    fmt.Println(v4UUID)
}

Todo

  • Add optimised bulk UUID generation

References

The following sources were referenced during the development of this project

You can’t perform that action at this time.