ParseAttr returns the attr from the given value.
(attr string)
| 107 | |
| 108 | // ParseAttr returns the attr from the given value. |
| 109 | func ParseAttr(attr string) string { |
| 110 | return strings.SplitN(attr, NsSeparator, 2)[1] |
| 111 | } |
| 112 | |
| 113 | // ParseNamespace returns the namespace from the given value. |
| 114 | func ParseNamespace(attr string) uint64 { |
no outgoing calls