All issues
Anti-pattern
Bug risk
Coverage
Documentation
Performance
Secrets
Security
Style
Type check
Checks for leading and training whitespaces in keys and duplicate keys in map literals.
_ = map[string]int { "foo": 1, "bar ": 2, // key has a trailing whitespace }
_ = map[string]int { "foo": 1, "bar": 2, }