mirror of
https://github.com/mgechev/revive.git
synced 2024-11-24 08:32:22 +02:00
13 lines
297 B
Go
13 lines
297 B
Go
|
// Test for name linting.
|
||
|
|
||
|
// Package pkg_with_underscores ...
|
||
|
package varnaming_test
|
||
|
|
||
|
var var_name int // MATCH /don't use underscores in Go names; var var_name should be varName/
|
||
|
|
||
|
func Test_ATest() {}
|
||
|
func Example_AnExample() {}
|
||
|
func Benchmark_ABenchmark() {}
|
||
|
|
||
|
func Fuzz_AFuzz() {}
|