1
0
mirror of https://github.com/mgechev/revive.git synced 2025-01-24 03:47:45 +02:00
revive/testdata/disable-annotations3.go

15 lines
339 B
Go
Raw Normal View History

2021-07-12 06:31:46 +02:00
// Package fix_tures is a testing package
// tests for issue #540
//revive:disable-next-line:var-naming
package fix_tures
func foo1() {
// something before the annotation
//revive:disable-next-line:var-naming
// something after
var invalid_name = 0
}
//revive:disable-next-line:var-naming
func (source Source) BaseApiURL() string {}