mirror of
https://github.com/mgechev/revive.git
synced 2024-11-28 08:49:11 +02:00
12 lines
441 B
Go
12 lines
441 B
Go
// should fail if upperCaseConst = false (by default) #851, #865
|
|
|
|
package fixtures
|
|
|
|
const SOME_CONST_2 = 1 // MATCH /don't use ALL_CAPS in Go names; use CamelCase/
|
|
const _SOME_PRIVATE_CONST_2 = 2 // MATCH /don't use ALL_CAPS in Go names; use CamelCase/
|
|
|
|
const (
|
|
SOME_CONST_3 = 3 // MATCH /don't use ALL_CAPS in Go names; use CamelCase/
|
|
_SOME_PRIVATE_CONST_3 = 3 // MATCH /don't use ALL_CAPS in Go names; use CamelCase/
|
|
)
|