blob: 4ad235ce2fdae8a56b69a2a3c2bbef336be05270 [file] [log] [blame]
8a9,10
> import "v.io/x/ref/lib/apilog"
>
11,12c13,18
< func (Type1) Method1() {}
< func (Type1) Method2(int) {}
---
> func (Type1) Method1() {
> defer apilog.LogCall()() // gologcop: DO NOT EDIT, MUST BE FIRST STATEMENT
> }
> func (Type1) Method2(int) {
> defer apilog.LogCall()() // gologcop: DO NOT EDIT, MUST BE FIRST STATEMENT
> }
24c30,32
< func (HalfType2) Method1() {}
---
> func (HalfType2) Method1() {
> defer apilog.LogCall()() // gologcop: DO NOT EDIT, MUST BE FIRST STATEMENT
> }
31c39,42
< func (HalfType3) Method2(int) { _ = 3 }
---
> func (HalfType3) Method2(int) {
> defer apilog.LogCall()() // gologcop: DO NOT EDIT, MUST BE FIRST STATEMENT
> _ = 3
> }