This is issue i am referring to https://github.com/golang/go/issues/21355.
On Monday, May 25, 2020 at 10:21:19 PM UTC+5:30, Michael Jones wrote:
>
> Variables are names associated with values, values that can *vary*, that
> is, can be changed. (Unlike constants, which are *constant* values.)
>
> In the beginning, all variables were global, and this was not good.
>
>
> Then came local variables, ones *local* to a function, which came and
> went as functions executed, and then block-scoped variables, ones local to
> a particular begin...end or {...} block of code. This was seen as good, and
> the people were urged to avoid global variables (and *goto* and other
> ways of the past).
>
> Now, every combination of ways has a home in some language's culture:
> *static* in C is a function-local global variable, Go style embraces
> global variables for flag values, and there are local variables in
> sophisticated assembly languages that never go to memory.
>
> Now, what problem is it exactly that you want to solve?
>
> On Sun, May 24, 2020 at 11:06 PM <[email protected] <javascript:>>
> wrote:
>
>> Yeah this works, but you can say this as workaround, what i really want
>> is, does native go support? if not why?
>>
>> On Monday, May 25, 2020 at 7:57:17 AM UTC+5:30, tokers wrote:
>>>
>>> You may try to inspect this go package: https://github.com/jtolio/gls
>>>
>> --
>> 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 [email protected] <javascript:>.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/golang-nuts/3e71bdf8-3b99-4f47-9412-68cc50f69e84%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/golang-nuts/3e71bdf8-3b99-4f47-9412-68cc50f69e84%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> --
>
> *Michael T. [email protected] <javascript:>*
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/golang-nuts/b4794a2d-a044-4bb8-80f0-e35c089cfb2e%40googlegroups.com.