Add "gocage get all myjail"

This commit is contained in:
yo
2022-04-03 11:04:01 +02:00
parent 19dd2dfb33
commit 285229009f
3 changed files with 21 additions and 2 deletions

View File

@ -1431,4 +1431,17 @@ func (ms *multiSorter) Less(i, j int) bool {
return ms.less[k](p, q)
}
/*****************************************************************************
*
* Generic utilities
*
*****************************************************************************/
func isStringInArray(strarr []string, searched string) bool {
for _, s := range strarr {
if strings.EqualFold(s, searched) {
return true
}
}
return false
}