mirror of
https://github.com/mgechev/revive.git
synced 2025-11-27 22:18:41 +02:00
refactor: rename files to follow Go convention
This commit is contained in:
committed by
chavacava
parent
c0d4d07ab6
commit
be95bfa705
8
testdata/json_data_format_var_naming.go
vendored
Normal file
8
testdata/json_data_format_var_naming.go
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
package fixtures
|
||||
|
||||
func foo() string {
|
||||
customID := "result" // ignore
|
||||
customVm := "result" // json:{"MATCH": "var customVm should be customVM"}
|
||||
CUSTOMER_UP := "result" // json:{"MATCH": "don't use ALL_CAPS in Go names; use CamelCase", "Confidence": 0.8}
|
||||
return customId
|
||||
}
|
||||
Reference in New Issue
Block a user