Here is a brief tutorial for those new to Go Module. This is by no means a
comprehensive guide to Go Module, but I hope this should be enough to get
you started.
What is Go Module, and why you should be using one? Go Module is a
dependency management tool. The primary benefit of Go Module is th
On Sat, May 23, 2020 at 5:19 PM Justin Israel
wrote:
> I've been working to track this down for 2 days now and I'm just taking a
> long shot to see if anyone might have a new idea for me.
> My cgo-based bindings library seems to have unbounded RSS memory growth,
> which I have been able to reduce
Ignore, didn’t see the stack statement.
> On May 23, 2020, at 4:46 PM, robert engels wrote:
>
> Use a package exported (public) variable.
>
>> On May 23, 2020, at 2:34 PM, adithyasasha...@gmail.com wrote:
>>
>> Is there a way to create a global variable inside go routine stack? so that
>> i
You are describing a thread-local variable (or a goroutine local
variable, I suppose). The Go authors didn't feel this was an appropriate
feature for Go and it is not supported.
You may find some third party libraries that do this by parsing stack
traces and using them to index into maps or simila
Use a package exported (public) variable.
> On May 23, 2020, at 2:34 PM, adithyasasha...@gmail.com wrote:
>
> Is there a way to create a global variable inside go routine stack? so that i
> can access any time, without passing around between methods/functions. Crazy
> thought !!!..
>
> --
> Y
I would just write a standalone http server with mTLS set up and serve the
profiling functions from there.
You are not forced to use the server mux provided by the package.
On Friday, 22 May 2020 23:06:41 UTC+1, Daniel Mai wrote:
>
> Does go tool pprof support TLS with client authentication? I
Is there a way to create a global variable inside go routine stack? so that
i can access any time, without passing around between methods/functions.
Crazy thought !!!..
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this gr
Hi Everyone!
Recently I have working on a project that allow to work on Go projects
out-of-box using a Docker image.
It contains preinstalled tools for developing, mocking, formatting,
linting, building, testing and documenting Go projects.
For mocking Go interfaces, I'm using the standard and
I would work through
https://golang.org/doc/code.html
- Amnon
On Friday, 22 May 2020 12:59:03 UTC+1, lj0...@gmail.com wrote:
>
> It looks like I am not only one to struggle with (new?) go modules.
> I still consider me as novice to GO but the major problem is as usual, the
> focus.
>
> 1. Mod