DeleteByString is like Delete but accepts a string name.
(name string)
| 94 | |
| 95 | // DeleteByString is like Delete but accepts a string name. |
| 96 | func (a *Attributes) DeleteByString(name string) { |
| 97 | a.Delete(Name(name)) |
| 98 | } |
| 99 | |
| 100 | // Has returns true if the attribute with the given name exists. |
| 101 | func (a *Attributes) Has(name Name) bool { |