func Hex(ref string) (string, error) {
	b, err := hex.DecodeString(ref)
	if err != nil {
		return "", err
	}
	return string(b), nil
}
// Hex decodes hex encoded ref and returns it. Default tag for this derefer is
// "hex".
Hex decodes hex encoded ref and returns it. Default tag for this derefer is
"hex".
// Hex decodes hex encoded ref and returns it . Default tag for this derefer is // " hex " .
func Hex(ref string) (string, error) {
	b, err := hex.DecodeString(ref)
	if err != nil {
		return "", err
	}
	return string(b), nil
}
func Hex ( ref string ) ( string , error ) { b , err := hex . DecodeString ( ref ) if err != nil { return " " , err } return string ( b ) , nil }
Hex decodes hex encoded ref and returns it.
Hex decodes hex encoded ref and returns it .