func (r Resource) SanitizedPath(prefix string) string {
	return fmt.Sprintf(
		"/%s/%s/",
		strings.TrimPrefix(strings.TrimSuffix(prefix, "/"), "/"),
		strings.TrimPrefix(strings.TrimSuffix(r.Path, "/"), "/"),
	)
}
// SanitizedPath trims forward slash characters from the provided string prefix
// and Path of the resource.
// Returns the sanitized path string.
SanitizedPath trims forward slash characters from the provided string prefix
and Path of the resource.
Returns the sanitized path string.
// SanitizedPath trims forward slash characters from the provided string prefix // and Path of the resource . // Returns the sanitized path string .
func (r Resource) SanitizedPath(prefix string) string {
	return fmt.Sprintf(
		"/%s/%s/",
		strings.TrimPrefix(strings.TrimSuffix(prefix, "/"), "/"),
		strings.TrimPrefix(strings.TrimSuffix(r.Path, "/"), "/"),
	)
}
func ( r Resource ) SanitizedPath ( prefix string ) string { return fmt . Sprintf ( " " , strings . TrimPrefix ( strings . TrimSuffix ( prefix , " " ) , " " ) , strings . TrimPrefix ( strings . TrimSuffix ( r . Path , " " ) , " " ) , ) }
SanitizedPath trims forward slash characters from the provided string prefix
and Path of the resource.
SanitizedPath trims forward slash characters from the provided string prefix and Path of the resource .