mirror of
https://github.com/mgechev/revive.git
synced 2025-01-24 03:47:45 +02:00
9 lines
281 B
Go
9 lines
281 B
Go
|
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
|
||
|
}
|