code: func (ns *Namespace) TrimSuffix(suffix, s interface{}) (string, error) {
  	ss, err := cast.ToStringE(s)
  	if err != nil {
  		return "", err
  	}
  
  	sx, err := cast.ToStringE(suffix)
  	if err != nil {
  		return "", err
  	}
  
  	return _strings.TrimSuffix(ss, sx), nil
  }
docs: // TrimSuffix returns s without the provided trailing suffix string. If s
  // doesn't end with suffix, s is returned unchanged.