Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func Annotate ¶
Annotates src with annotations in anns.
Annotating an empty byte array always returns an empty byte array.
Assumes anns is sorted (using sort.Sort(anns)).
func IsOutOfBounds ¶
Types ¶
type Annotation ¶
type Annotations ¶
type Annotations []*Annotation
func (Annotations) Len ¶
func (a Annotations) Len() int
func (Annotations) Less ¶
func (a Annotations) Less(i, j int) bool
func (Annotations) Swap ¶
func (a Annotations) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.