1
0
mirror of https://github.com/mgechev/revive.git synced 2024-11-24 08:32:22 +02:00
revive/testdata/disable-annotations3.go
2021-07-11 21:31:46 -07:00

15 lines
339 B
Go

// 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 {}