Re: [go-nuts] Trying to port Go to HPE NonStop x86 - Need some guidance

2021-04-21 Thread Ian Lance Taylor
On Wed, Apr 21, 2021 at 7:38 AM Shiva wrote: > > Thank you for clearing that up, Ian. I'll set this go1.4 installation aside > and install Go 1.16 on windows then. But I am still a bit unclear on what you > mean by 'porting Go tip to support nsx' - Can you expand on what you mean by > Go tip?

[go-nuts] Go update all modules

2021-04-21 Thread Steven Penny
Using this module as an example (using a specific commit so others will see what I see): ~~~ git clone git://github.com/walles/moar Set-Location moar git checkout d24acdbf ~~~ I would like a way to tell Go to "update everything". Assume that the module will work with the newest version of ever

[go-nuts] Re: [ANN] peanut - write tagged structs to disk, in a variety of formats

2021-04-21 Thread cisgo io
thanks Jim, your effort is really powerful and will find good use. kg, Scottie On Tuesday, April 20, 2021 at 10:49:04 PM UTC+2 Jim Smart wrote: > Hi there fellow Go Nuts and Gophers, > > Whilst working on a project not long back, I created a library to easily > write tagged structs to disk, in

Re: [go-nuts] Trying to port Go to HPE NonStop x86 - Need some guidance

2021-04-21 Thread Shiva
Thank you for clearing that up, Ian. I'll set this go1.4 installation aside and install Go 1.16 on windows then. But I am still a bit unclear on what you mean by 'porting Go tip to support nsx' - Can you expand on what you mean by Go tip? On Tuesday, April 20, 2021 at 9:14:13 PM UTC+1 Ian Lanc

[go-nuts] Re: go build ./... will produce a binary of one and only one main package is found

2021-04-21 Thread Manlio Perillo
Il giorno mercoledì 21 aprile 2021 alle 09:07:23 UTC+2 Brian Candler ha scritto: > On Tuesday, 20 April 2021 at 20:28:56 UTC+1 manlio@gmail.com wrote: > >> And I notice only now that you can do `go build -o "" ./...`. >> > > But does that work? See > https://github.com/golang/go/blob/maste

[go-nuts] Testing golang tool

2021-04-21 Thread ramsa
Hi, I am trying to write a testing tool in a microservices environment which should be able to scale and trigger various combinations of inputs. Are there any examples and test tools that are written in golang to help get us some inputs/directions on how to proceed and approach. Thanks Ramsa

Re: [go-nuts] TotalAlloc dropped in runtime/metrics

2021-04-21 Thread Marco A.
Thanks Michael, do not worry about TotalAlloc.. we do have that metric to replace somehow but we might even think about dropping it completely. I was honestly wondering if TotalAlloc (cumulative bytes allocated for heap objects) is a useful metric to have at all since Go uses garbage collection

[go-nuts] Re: go build ./... will produce a binary of one and only one main package is found

2021-04-21 Thread Brian Candler
On Tuesday, 20 April 2021 at 20:28:56 UTC+1 manlio@gmail.com wrote: > And I notice only now that you can do `go build -o "" ./...`. > But does that work? See https://github.com/golang/go/blob/master/src/cmd/go/internal/work/build.go#L374-L377 Testing with go 1.16.3 shows that it doesn't: