Created
June 20, 2018 18:35
-
-
Save cristaloleg/8cbccc3eedc63e4b05921bf09895fde1 to your computer and use it in GitHub Desktop.
Positiv example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// cmd/gocritic/testdata/positive_tests.go | |
/// consider `in' name instead of `IN' | |
/// `X' should not be capitalized | |
/// `Y' should not be capitalized | |
/// `Z' should not be capitalized | |
func badFunc1(IN, X int) (Y, Z int) { | |
/// `V' should not be capitalized | |
V := 1 | |
return V, 0 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment