(v0.1.1) Automated packaging of release by Packagr

This commit is contained in:
packagr-io-beta
2020-08-21 06:31:48 +00:00
parent 7a10a7ee63
commit b6ca94f786
1303 changed files with 620126 additions and 109 deletions
+19
View File
@@ -0,0 +1,19 @@
package utils
func SliceIncludes(slice []string, item string) bool {
for _, val := range slice {
if val == item {
return true
}
}
return false
}
//func indexOf(answers []interface{}, item interface{}) (int) {
// for k, v := range answers {
// if v == item {
// return k
// }
// }
// return -1
//}