code: func appendIfMissing(slice []string, element string) []string {
  	for _, ele := range slice {
  		if ele == element {
  			return slice
  		}
  	}
  	return append(slice, element)
  }
docs: // helper function to add an element to a list, if it does not already exsit