honnef.co/go/tools@v0.5.0-0.dev.0.20240520180541-dcae280a5e87/stylecheck/st1016/testdata/src/example.com/CheckReceiverNamesIdentical/generated.go (about) 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() {}