QuackatronHQ / Gigarepo

Found non-idiomatic returning of boolean expression SCC-S1008
Anti-pattern
Major
1 occurrence in this check
should use 'return len(s) == 0' instead of 'if len(s) == 0 { return true }; return false'
67}
68
69func empty(s string) bool {
70	if len(s) == 0 {71		return true
72	}
73	return false