mirror of
https://github.com/mgechev/revive.git
synced 2024-11-21 17:16:40 +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
|
|
}
|