Sqlite journal mode (#54)
This commit is contained in:
10
internal/utils/slice.go
Normal file
10
internal/utils/slice.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package utils
|
||||
|
||||
func SliceContains(slice []string, item string) bool {
|
||||
for _, s := range slice {
|
||||
if s == item {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
Reference in New Issue
Block a user