func MustValidateUUID(s string) string {
	MustParseUUID(s)
	return s
}
MustValidateUUID parses and validates UUID contents from the given string representation
returns empty string if the input is empty string
panics if the given input is malformed
package primitives
import (
	"database/sql/driver"
	"encoding/hex"
	guuid "github.com/google/uuid"
	"github.com/pborman/uuid"
)
type UUID []byte
func MustParseUUID(s string) UUID {
	if s == "" {
		return nil
	}
	u := guuid.MustParse(s)
	return u[:]
}
func ParseUUID(s string) (UUID, error) {
	if s == "" {
		return nil, nil
	}
	u, err := guuid.Parse(s)
	if err != nil {
		return nil, err
	}
	return u[:], nil
}