// SplitQualifiedName Splits a fully qualified name and returns its namespace and name. // Assumes that the input 'str' has been validated. func SplitQualifiedName(str string) (string, string) { … } // JoinQualifiedName joins 'namespace' and 'name' and returns a fully qualified name // Assumes that the input is valid. func JoinQualifiedName(namespace, name string) string { … } // ShortenString returns the first N slice of a string. func ShortenString(str string, n int) string { … }