stylecheck/st1016/testdata/go1.0/CheckReceiverNamesIdentical/generated.go
raw| 1 | // Code generated by hand. DO NOT EDIT. |
| 2 | |
| 3 | package pkg |
| 4 | |
| 5 | // Methods on T2 are only defined in this generated file |
| 6 | // Methods on T3 and T4 are defined in this file and a non-generated file |
| 7 | |
| 8 | type T2 struct{} |
| 9 | |
| 10 | func (foo T2) Fn1() {} |
| 11 | func (bar T2) Fn2() {} |
| 12 | |
| 13 | type T3 struct{} |
| 14 | |
| 15 | func (foo T3) Fn1() {} |
| 16 | |
| 17 | type T4 struct{} |
| 18 | |
| 19 | func (foo T4) Fn1() {} |