All issues
Anti-pattern
Bug risk
Coverage
Documentation
Performance
Secrets
Security
Style
Type check
Go infers the types of the variables if the type is not written explicitly. It is recommended to remove the type in the declaration for succinctness.
package main var foo int = 10
package main var foo = 10