code: func TrimSpaceSlice(a []string) []string {
  	other := make([]string, 0, len(a))
  	for _, s := range a {
  		s = strings.TrimSpace(s)
  		if s == "" {
  			continue
  		}
  		other = append(other, s)
  	}
  	return other
  }
docs: // TrimSpaceSlice returns a new slice of trimmed strings.
  // Empty strings are removed entirely.