func (this *Collect) processItem(item value.AnnotatedValue, context *Context) bool { if len(this.values) == cap(this.values) { values := make([]interface{}, len(this.values), len(this.values)<<1) copy(values, this.values) this.values = values } this.values = append(this.values, item.Actual()) return true }