Descope returns the name without the namespace prefix
(name string)
| 28 | |
| 29 | // Descope returns the name without the namespace prefix |
| 30 | func (n Namespace) Descope(name string) string { |
| 31 | return strings.TrimPrefix(name, n.name+"_") |
| 32 | } |
| 33 | |
| 34 | // Name returns the name of the namespace |
| 35 | func (n Namespace) Name() string { |
no outgoing calls