// Contains return true if string e is present in slice s func Contains(s []string, e string) bool { … } // Remove removes the first occurrence of r in slice s // and returns remaining slice func Remove(s []string, r string) []string { … }
// Contains return true if string e is present in slice s func Contains(s []string, e string) bool { … } // Remove removes the first occurrence of r in slice s // and returns remaining slice func Remove(s []string, r string) []string { … }