mirror of
https://github.com/mgechev/revive.git
synced 2024-11-24 08:32:22 +02:00
24 lines
380 B
Go
24 lines
380 B
Go
|
package fixtures
|
||
|
|
||
|
//revive:disable
|
||
|
func Public1() {
|
||
|
}
|
||
|
|
||
|
//revive:enable
|
||
|
|
||
|
func Public2() { // MATCH /exported function Public2 should have comment or be unexported/
|
||
|
}
|
||
|
|
||
|
//revive:disable:exported
|
||
|
func Public3() {
|
||
|
}
|
||
|
|
||
|
//revive:enable:exported
|
||
|
|
||
|
//revive:disable:random
|
||
|
|
||
|
func Public4() { // MATCH /exported function Public4 should have comment or be unexported/
|
||
|
}
|
||
|
|
||
|
//revive:enable:random
|