1
0
mirror of https://github.com/mgechev/revive.git synced 2024-11-21 17:16:40 +02:00
revive/testdata/disable_annotations3.go
2024-11-11 19:31:18 +01: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 {}