mirror of
https://github.com/mgechev/revive.git
synced 2024-11-30 08:57:07 +02:00
10 lines
292 B
Go
10 lines
292 B
Go
package fixtures
|
|
|
|
const Ω = "Omega" // MATCH:3 /banned character found: Ω/
|
|
|
|
// func contains banned characters Ω // authorized banned chars in comment
|
|
func funcΣ() error { // MATCH:6 /banned character found: Σ/
|
|
var charσhid string // MATCH:7 /banned character found: σ/
|
|
return nil
|
|
}
|