code: func (r *Reader) toHex(input string) []byte {
  	result, err := hex.DecodeString(prune(input))
  	if err != nil {
  		return []byte{}
  	}
  	return result
  }
docs: // This method should save a few lines, converting provided string to byte array (hex) while error is logged but
  // not returned