An RFC 4122 compliant UUID library
$ go get github.com/frankenbeanies/uuid4
import "github.com/frankenbeanies/uuid4"
Generates a new UUID4
uuid := uuid4.New()
Provides an RFC 4122 compliant string representation of the UUID4
uuidStr := uuid4.New().String()
fmt.Println(uuidStr)
Provides the byte representation of UUID4
uuidBytes := uuid4.New().Bytes()
fmt.Println(uuid)
Parses string into a UUID4
uuid := uuid4.ParseString("cc2161ae-33c1-4cb1-aa53-e81000f20a30")