Commit 35f8f67c authored by heyubin's avatar heyubin Committed by vipwzw

add by hyb for golint

parent 7b584343
......@@ -126,17 +126,3 @@ func IsAssetsInvalid(exec, symbol string) error {
//Symbol不做检测
return nil
}
func isUpperChar(a byte) bool {
res := (a <= 'Z' && a >= 'A')
return res
}
func validSymbol(cs []byte) bool {
for _, c := range cs {
if !isUpperChar(c) {
return false
}
}
return true
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment