// GetSuffix returns suffix from id.
GetSuffix returns suffix from id.
// GetSuffix returns suffix from id .
func GetSuffix(id string) (string, error) {
	parts := strings.Split(id, docutil.NamespaceDelimiter)
	if len(parts) < MinOrbIdentifierParts {
		return "", fmt.Errorf("invalid number of parts[%d] for Orb identifier", len(parts))
	}
	suffix := parts[len(parts)-1]
	return suffix, nil
}
func GetSuffix ( id string ) ( string , error ) { parts := strings . Split ( id , docutil . NamespaceDelimiter ) if len ( parts ) < MinOrbIdentifierParts { return " " , fmt . Errorf ( " " , len ( parts ) ) } suffix := parts [ len ( parts ) - 1 ] return suffix , nil }
GetSuffix returns suffix from id.
GetSuffix returns suffix from id .
// suffix is always the last part