fix golint for some of pkg/util

This commit is contained in:
tanshanshan
2018-09-12 15:50:22 +08:00
parent ee4346651c
commit 0ecff590bb
6 changed files with 35 additions and 38 deletions

View File

@@ -22,7 +22,7 @@ import (
"unicode"
)
// SplitQualifiedName Splits a fully qualified name and returns its namespace and name.
// 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) {
parts := strings.Split(str, "/")