ParseNamespace returns the namespace from the given value.
(attr string)
| 112 | |
| 113 | // ParseNamespace returns the namespace from the given value. |
| 114 | func ParseNamespace(attr string) uint64 { |
| 115 | return strToUint(strings.SplitN(attr, NsSeparator, 2)[0]) |
| 116 | } |
| 117 | |
| 118 | func ParseAttrList(attrs []string) []string { |
| 119 | var resp []string |
no test coverage detected