Re: [go-nuts] Re: Mem-Leak in Go method

2020-03-30 Thread Tamás Gulácsi
2020. március 30., hétfő 19:44:05 UTC+2 időpontban Nitish Saboo a következőt írta: > > Hi, > > Requesting valuable inputs on this. > > Thanks, > Nitish > > On Thu, Mar 26, 2020 at 5:08 PM Nitish Saboo > wrote: > >> Hi Tamas, >> >> 1) There is no such option '--heap_inuse'. We have an -*-inuse_sp

Re: [go-nuts] Recommended way to prevent my project being built with an old Go version?

2020-03-30 Thread Ian Lance Taylor
On Mon, Mar 30, 2020 at 6:22 PM Tom Payne wrote: > > Go's backwards compatibility guarantee is fantastic, but only applies to the > language, not the standard library. How to I cause a build-time failure if > someone tries to build my project with a too-old Go version? Pedantically, I would say

[go-nuts] Recommended way to prevent my project being built with an old Go version?

2020-03-30 Thread Tom Payne
Hi, Go's backwards compatibility guarantee is fantastic, but only applies to the language, not the standard library. How to I cause a build-time failure if someone tries to build my project with a too-old Go version? I have a Go project that uses (or would like to use) a few features introduce

Re: [go-nuts] Re: Mem-Leak in Go method

2020-03-30 Thread Robert Engels
It has already been answered. The alloc size is not the mem in use heap size. > On Mar 30, 2020, at 12:43 PM, Nitish Saboo wrote: > >  > Hi, > > Requesting valuable inputs on this. > > Thanks, > Nitish > >> On Thu, Mar 26, 2020 at 5:08 PM Nitish Saboo >> wrote: >> Hi Tamas, >> >> 1) Ther

Re: [go-nuts] Re: Mem-Leak in Go method

2020-03-30 Thread Nitish Saboo
Hi, Requesting valuable inputs on this. Thanks, Nitish On Thu, Mar 26, 2020 at 5:08 PM Nitish Saboo wrote: > Hi Tamas, > > 1) There is no such option '--heap_inuse'. We have an -*-inuse_space* > option. Is this what you are talking about? > > nsaboo@ubuntu:~/Desktop/memprof$ go tool pprof --in

Re: [go-nuts] Fresh install of go from here: https://golang.org/doc/install but errors out with: import path does not begin with hostname

2020-03-30 Thread Ian Lance Taylor
On Mon, Mar 30, 2020 at 10:18 AM wrote: > > Hi everyone, > > hoping someone can help. > > I did a brand new install of 'go' using the instructions from here: > https://golang.org/doc/install > > I have no knowlege of 'go' but thought I would take a look. > > I tried to install some software from

[go-nuts] Fresh install of go from here: https://golang.org/doc/install but errors out with: import path does not begin with hostname

2020-03-30 Thread pgoudman
Hi everyone, hoping someone can help. I did a brand new install of 'go' using the instructions from here: https://golang.org/doc/install I have no knowlege of 'go' but thought I would take a look. I tried to install some software from another source using the command given: go get github.co