code: func (ns *Namespace) TrimRight(cutset, s interface{}) (string, error) {
  	ss, err := cast.ToStringE(s)
  	if err != nil {
  		return "", err
  	}
  
  	sc, err := cast.ToStringE(cutset)
  	if err != nil {
  		return "", err
  	}
  
  	return _strings.TrimRight(ss, sc), nil
  }
docs: // TrimRight returns a slice of the string s with all trailing characters
  // contained in cutset removed.