mirror of
https://github.com/mgechev/revive.git
synced 2024-12-02 09:02:23 +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
|
|
}
|