lint fixes.

This commit is contained in:
m1k1o
2021-04-04 21:15:12 +02:00
parent d2fae22042
commit 1b09721bbc
4 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ func ArrayIn(val interface{}, array interface{}) (exists bool, index int) {
case reflect.Slice:
s := reflect.ValueOf(array)
for i := 0; i < s.Len(); i++ {
if reflect.DeepEqual(val, s.Index(i).Interface()) == true {
if reflect.DeepEqual(val, s.Index(i).Interface()) {
index = i
exists = true
return