QuackatronHQ / Gigarepo

Replace call to bytes.Compare with bytes.Equal SCC-S1004
Anti-pattern
Major
1 occurrence in this check
should use bytes.Equal(a.([]byte), b.([]byte)) instead
57
58	switch a.(type) {
59	case []byte:
60		return bytes.Compare(a.([]byte), b.([]byte)) == 0, nil61	case string:
62		return strings.Compare(a.(string), b.(string)) == 0, nil
63	default: