Removed unused methods

This commit is contained in:
vishalnayak 2017-01-03 12:51:35 -05:00
parent 6dd1de959c
commit d70fb45fbb
1 changed files with 0 additions and 21 deletions

View File

@ -40,24 +40,3 @@ func randbytes(n int) []byte {
}
return buf
}
// strListContains looks for a string in a list of strings.
func strListContains(haystack []string, needle string) bool {
for _, item := range haystack {
if item == needle {
return true
}
}
return false
}
// strListSubset checks if a given list is a subset
// of another set
func strListSubset(super, sub []string) bool {
for _, item := range sub {
if !strListContains(super, item) {
return false
}
}
return true
}