1
0
mirror of https://github.com/mgechev/revive.git synced 2024-11-21 17:16:40 +02:00
revive/testdata/get_return.go
2024-11-11 19:31:18 +01:00

30 lines
546 B
Go

package fixtures
func getfoo() {
}
func getBar(a, b int) { // MATCH /function 'getBar' seems to be a getter but it does not return any result/
}
func Getbaz(a string, b int) {
}
func GetTaz(a string, b int) string {
}
func (t *t) GetTaz(a string, b int) string {
}
func (t *t) GetSaz(a string, b int) { // MATCH /function 'GetSaz' seems to be a getter but it does not return any result/
}
func GetQux(a string, b int, c int, d string, e int64) { // MATCH /function 'GetQux' seems to be a getter but it does not return any result/
}