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) DoJobTwo() MyStuff {} 

...

result := CreateMyStuff()
    . DoJobOne() // Error: expected statement, found '.' 
    . DoJobTwo() 

```

I have an error " expected statement, found '.' ".
Is there any workaround?

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/182bae0c-de3f-417e-82bb-07ca3d26e71an%40googlegroups.com.

Reply via email to