Please take a look at one of old threads about it -
https://groups.google.com/forum/#!topic/golang-nuts/reaIlFdibWU.

On Tue, Apr 14, 2020 at 12:50 PM <viktor.oge...@gmail.com> wrote:

> Hi,
>
> What is the reason for not allowing taking the address of a function
> return value, ie having to assign it to a variable first?
>
> See https://play.golang.org/p/rjLwiVmikMc
>
> Regards
>
> --
> 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/391875fe-946a-4456-bd67-ddecd581a917%40googlegroups.com
> .
>


-- 
BR,
Michał Łowicki

-- 
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/CAKu9hcd7ikR756L3YyG_2DNQea99kFrUbMAzay_S0UConsH2Vg%40mail.gmail.com.

Reply via email to