Started working on test edit page; removed nodemon because it wasn't working
This commit is contained in:
10
web/helpers.go
Normal file
10
web/helpers.go
Normal file
@ -0,0 +1,10 @@
|
||||
package web
|
||||
|
||||
func Contains(slice []string, val string) bool {
|
||||
for _, v := range slice {
|
||||
if v == val {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
Reference in New Issue
Block a user