type annoMap … type Filter … var _ … var _ … // WithMutationTracker registers a callback which will be invoked each time a field is mutated func (f *Filter) WithMutationTracker(callback func(key, value, tag string, node *yaml.RNode)) { … } func (f Filter) Filter(nodes []*yaml.RNode) ([]*yaml.RNode, error) { … }