Scope prepends the namespace to a name
(name string)
| 23 | |
| 24 | // Scope prepends the namespace to a name |
| 25 | func (n Namespace) Scope(name string) string { |
| 26 | return n.name + "_" + name |
| 27 | } |
| 28 | |
| 29 | // Descope returns the name without the namespace prefix |
| 30 | func (n Namespace) Descope(name string) string { |
no outgoing calls