Skip to content

danil/randuuid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

randuuid

Build Status Go Reference

Random UUID with seed for Go.
Source files are distributed under the BSD-style license found in the LICENSE file.

Install

go get github.com/danil/[email protected]

Usage

package main

import (
    "fmt"

    "github.com/danil/randuuid"
)

func main() {
    fmt.Println(randuuid.New(42))
    fmt.Println(randuuid.New(42))
}

Output:

538c7f96-b164-4f1b-97bb-9f4bb472e89f <nil>
538c7f96-b164-4f1b-97bb-9f4bb472e89f <nil>