Re: [go-nuts] Method chaining in multiple lines

2022-11-24 Thread Harris, Andrew
Period should be at the end of lines Call(). Chain(). Done() Get Outlook for iOS<https://aka.ms/o0ukef> From: golang-nuts@googlegroups.com on behalf of Denis P Sent: Thursday, November 24, 2022 11:45:54 AM To: golang-nuts Subject: [go-nuts] Method ch

[go-nuts] Method chaining in multiple lines

2022-11-24 Thread Denis P
Hi guys, I am struggling with making my code work in a way that multiple methods called in multiline approach. Does any gopher has an answer is there any solution to this: ``` type MyStuff struct { } func CreateMyStuff() MyStuff {} func (s MyStuff) DoJobOne() MyStuff {} func (s MyStuff) DoJob