Set an annotation in the container.
(idx AnnotationIdx, annotation interface{})
| 59 | |
| 60 | // Set an annotation in the container. |
| 61 | func (a *Annotations) Set(idx AnnotationIdx, annotation interface{}) { |
| 62 | (*a)[idx-1] = annotation |
| 63 | } |
| 64 | |
| 65 | // Get an annotation from the container. |
| 66 | func (a *Annotations) Get(idx AnnotationIdx) interface{} { |
no outgoing calls