SetByString is like Set but accepts a string name.
(name, value string)
| 72 | |
| 73 | // SetByString is like Set but accepts a string name. |
| 74 | func (a *Attributes) SetByString(name, value string) { |
| 75 | a.Set(Name(name), value) |
| 76 | } |
| 77 | |
| 78 | // Delete removes the attribute with the given name. |
| 79 | func (a *Attributes) Delete(name Name) { |