1
0
mirror of https://github.com/mgechev/revive.git synced 2024-11-24 08:32:22 +02:00
revive/testdata/receiver-naming-issue-1040.go
chavacava 53a111d36e
adds check for receiver names length (#1048)
Co-authored-by: chavacava <salvador.cavadini@gmail.com>
Co-authored-by: yuta nishiyama <57400690+ytnsym@users.noreply.github.com>
2024-09-23 12:38:39 +02:00

6 lines
147 B
Go

package fixtures
func (o *o) f1() {}
func (tw *tw) f2() {}
func (thr *thr) f3() {} // MATCH /receiver name thr is longer than 2 characters/