func GenUUIDBytes() ([]byte, error)
GenUUIDBytes returns a UUID v4 byte array.
func GenUUIDString() (string, error)
GenUUIDString returns a UUID v4 string.
UUID Data structure of UUID
type UUID struct { Bytes []byte String string }
func FromBytes(uuidBytes []byte) (*UUID, error)
FromBytes Converts []byte to UUID struct
func FromString(uuidString string) (*UUID, error)
FromString Converts string to UUID struct
func New() (*UUID, error)
New Creates a new UUID struct
func (uuid *UUID) Clear()
Clear Resets internal values of UUID struct