Add Attribute to Attributes
(attr Attribute)
| 18 | |
| 19 | // Add Attribute to Attributes |
| 20 | func (attrs *Attributes) Add(attr Attribute) { |
| 21 | *attrs = append(*attrs, attr) |
| 22 | } |
| 23 | |
| 24 | // Clone creates a shallow copy of Attributes. |
| 25 | // For nil input it returns nil output. |
no outgoing calls