[go-nuts] Re: It's possible to replace cgo memory allocator?

2021-06-18 Thread Diego Bernardes
Sorry for the late reply. The problem was solved, thanks to everyone for the help. Just to give a little more context. The lib that I'm using is MuPDF and I thought that I had a memory leak but in the end, it was just glibc not releasing the memory fast enough to the OS. I solved the problem

[go-nuts] It's possible to replace cgo memory allocator?

2021-06-10 Thread Diego Bernardes
I'm using cgo and struggling to find a memory leak which can be easily detected if I can replace the cgo memory allocator to the one the C library I'm using have because they did a leak detector implementation there. It's possible? -- You received this message because you are subscribed to

Re: [go-nuts] [ANN] PipeHub: A programmable proxy server

2019-03-23 Thread Diego Bernardes
ill for us: > https://github.com/Parquery/revproxyry > > Cheers, > Marko > > Le sam. 23 mars 2019 à 18:30, Diego Bernardes > a écrit : > >> Hi, >> >> For the past weeks, I've been working in a personal project that I wanted >> to do for a long time.

[go-nuts] [ANN] PipeHub: A programmable proxy server

2019-03-23 Thread Diego Bernardes
Hi, For the past weeks, I've been working in a personal project that I wanted to do for a long time. Is a programmable proxy. Load balancer, API Gateway, Cache, TLS termination, and so on, are all example of servers that run on typical stack. But why we need to run all these servers?

[go-nuts] Re: IDE/tools that support the new Go module feature in 1.11?

2018-08-25 Thread Diego Bernardes
gometalinter and gotests are breaking for me. They were installed from vscode-go. Em sábado, 25 de agosto de 2018 09:45:11 UTC+1, nvcnvn escreveu: > > Hi all, > Do you know any IDE already support intellisense for a project using > "pure" Go module (without /vendor, $GOPATH) > -- You received

[go-nuts] Question about parallel tests

2017-01-23 Thread Diego Bernardes
If a test is marked as parallel, does the sub tests run in parallel too? Or should i mark then as parallel? -- 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

[go-nuts] Question about flow of context

2016-11-25 Thread Diego Bernardes
Got one question about the design of some packages using the new 'context' in golang. Let's assume we have a webserver, when some request get in, we can get the context from request, and this request can trigger several packages. What is the best way to send this context to the other packages?