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 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?
Thanks
Sent from my phone
> On 14 Apr 2020, at 15:34, Michał Łowicki wrote:
>
>
> 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 wrote:
>> Hi,
>>
>> What is the reason for not al
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 unsubscri