code: func (runner *runner) ListEntries(set string) ([]string, error) {
  	if len(set) == 0 {
  		return nil, fmt.Errorf("set name can't be nil")
  	}
  	out, err := runner.exec.Command(IPSetCmd, "list", set).CombinedOutput()
  	if err != nil {
  		return nil, fmt.Errorf("error listing set: %s, error: %v", set, err)
  	}
  	memberMatcher := regexp.MustCompile(EntryMemberPattern)
  	list := memberMatcher.ReplaceAllString(string(out[:]), "")
  	strs := strings.Split(list, "\n")
  	results := make([]string, 0)
  	for i := range strs {
  		if len(strs[i]) > 0 {
  			results = append(results, strs[i])
  		}
  	}
  	return results, nil
  }
docs: // ListEntries lists all the entries from a named set.