Random UUID with seed for Go.
Source files are distributed under the BSD-style license
found in the LICENSE file.
go get github.com/danil/[email protected]
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>