Go linter for checking that your code uses short syntax for if-statements whenever possible.
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
gucio321 opened this issue 3 years ago · comments
Hi, linter returns false negative on a following code:
package main import "fmt" func main() { i := 2 if int(i) != 2 { fmt.Println("i != 2") } }