Skip to content

Commit 02b8540

Browse files
author
shirHornstein
committed
rename set's Contains function to ContainsAll
1 parent 7bd7344 commit 02b8540

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

set.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package ep
33
// StringsSet holds set of unique strings
44
type StringsSet map[string]struct{}
55

6-
// Contains checks if other StringsSet included in the current StringsSet
7-
func (r StringsSet) Contains(other StringsSet) bool {
6+
// ContainsAll checks if other StringsSet included in the current StringsSet
7+
func (r StringsSet) ContainsAll(other StringsSet) bool {
88
for s := range other {
99
if _, ok := r[s]; !ok {
1010
return false

0 commit comments

Comments
 (0)