code: func (r Result) Filter(fn func(*resource.Info) bool) Result {
  	var result Result
  	for _, i := range r {
  		if fn(i) {
  			result.Append(i)
  		}
  	}
  	return result
  }
docs: // Filter returns a new Result with Infos that satisfy the predicate fn.