mirror of
https://github.com/docker/compose.git
synced 2026-08-04 14:47:40 +00:00
commit
ee6aeed84e
5 changed files with 32 additions and 12 deletions
|
|
@ -47,3 +47,9 @@ func (s Set[T]) Elements() []T {
|
|||
}
|
||||
return elements
|
||||
}
|
||||
|
||||
func (s Set[T]) RemoveAll(elements ...T) {
|
||||
for _, e := range elements {
|
||||
s.Remove(e)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue