AddMeta adds values to the meta field of the attribute.
(name string, vals ...string)
| 635 | |
| 636 | // AddMeta adds values to the meta field of the attribute. |
| 637 | func (a *AttributeExpr) AddMeta(name string, vals ...string) { |
| 638 | if a.Meta == nil { |
| 639 | a.Meta = make(MetaExpr) |
| 640 | } |
| 641 | a.Meta[name] = append(a.Meta[name], vals...) |
| 642 | } |
| 643 | |
| 644 | // DeleteMeta removes the metadata entry with the given name. |
| 645 | func (a *AttributeExpr) DeleteMeta(name string) { |
no outgoing calls
no test coverage detected