[go-nuts] Re: mixed C / Go debugging

2017-06-12 Thread brainman
> ... I also tried to load the go extension for gdb with "source C:/utils/go/src/runtime/runtime-gdb.py", but it doesn't do much good, Yes, I tried that recently. It didn't work for me either. From what I remember, you had to have "python support" with gdb, and that, apparently, is hard. I

[go-nuts] Re: Go install speedup within docker

2017-06-12 Thread James Pettyjohn
Hi Vlad, I am using go install and the pkg directory is being mapped into the container. docker run -ti --rm \ -v "$PWD":/usr/src/pjt \ # Mount the entire project to this directory -w /usr/src/pjt \ # use the project dir as the cwd -e "GOPATH=/usr/src/pjt" \ # set the GOPATH the base of the

[go-nuts] Re: [ANN] aah web framework for Go, v0.6 Released

2017-06-12 Thread Jeevanandam M.
Thank you Szymon Pankalla. On Monday, June 12, 2017 at 4:44:38 AM UTC-7, Szymon Pankalla wrote: > > Very interesting ;) Good job. > > W dniu środa, 7 czerwca 2017 17:31:23 UTC+2 użytkownik Jeevanandam M. > napisał: >> >> *Website:* https://aahframework.org >> *Documentation:*

[go-nuts] Re: mixed C / Go debugging

2017-06-12 Thread Alain Mellan
Hi Alex, Thanks for spending some time on this! Duh, I missed the gcc/g++ -g flag. It helps a little bit. I also tried to load the go extension for gdb with "source C:/utils/go/src/runtime/runtime-gdb.py", but it doesn't do much good, Go still executes as a black box. What you describe is

Re: [go-nuts] goimports flag parity with gofmt

2017-06-12 Thread Brad Fitzpatrick
Fixed: https://golang.org/cl/45390 On Mon, Jun 12, 2017 at 10:09 AM, Chandru wrote: > The documentation of goimports[1] says, > > It's a drop-in replacement for your editor's gofmt-on-save hook. "It has > the same command-line interface as gofmt" and formats your code in

Re: [go-nuts] goimports flag parity with gofmt

2017-06-12 Thread Chandru
The documentation of goimports[1] says, It's a drop-in replacement for your editor's gofmt-on-save hook. "It has the same command-line interface as gofmt" and formats your code in the same way. (quotes are mine) I think this documentation needs fixing too? [1]:

[go-nuts] Re: https://talks.golang.org/ down...?

2017-06-12 Thread Dragos Harabor
Yes, it's down, ran into it too. On Sunday, June 11, 2017 at 1:24:46 AM UTC-7, brylant wrote: > > I'm guessing this is not desired response from talks.golang.org..: > Error: Server ErrorThe service you requested is not available yet. > > Please try again in 30 seconds. > > > > It's been down for

Re: [go-nuts] goimports flag parity with gofmt

2017-06-12 Thread Brad Fitzpatrick
Use the tool that does what you want. We don't have to put all functionality into all binaries. If vim-go makes assumptions that one helper binary does all functionality, yes, please fix vim-go. On Mon, Jun 12, 2017 at 9:12 AM, sergiyb via golang-nuts < golang-nuts@googlegroups.com> wrote: >

Re: [go-nuts] Latency spike during GC

2017-06-12 Thread rlh via golang-nuts
Nothing is obvious but there is something going on we don't understand. If you have the time to create a simple reproducer the next step would be to open an issue that contains the reproducer. Once the problem can be reproduced locally it can be diagnosed. On Wednesday, June 7, 2017 at

[go-nuts] A spinning cube demo using Vulkan API and Go, the project status

2017-06-12 Thread Rainer Keller
Awesome. I was worried when Insaw that you had taken out some features (hacks) from cgogen that broke vulkan api generated. -- 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

Re: [go-nuts] glog with logrotate

2017-06-12 Thread Harmen
On Sun, Jun 11, 2017 at 05:52:14PM -0700, Kumkum wrote: > Hi, > > Is there an easy way to use logrotate with golang/glog > (https://github.com/golang/glog) ? I wrote my own logrotate-like-replacement thing: https://github.com/realzeitmedia/glogrotate maybe that helps. -- You received this

[go-nuts] Re: Go install speedup within docker

2017-06-12 Thread Vladimir Varankin
"-pkgdir" flag of "go build" / "go install" could also be useful, although I haven't tried it. On Monday, June 12, 2017 at 1:06:49 PM UTC+3, Vladimir Varankin wrote: > > I think the difference is that I use my project root as my GOPATH, so pkg > directory ($GOPATH/pkg), which stores the build

[go-nuts] Re: [ANN] aah web framework for Go, v0.6 Released

2017-06-12 Thread Szymon Pankalla
Very interesting ;) Good job. W dniu środa, 7 czerwca 2017 17:31:23 UTC+2 użytkownik Jeevanandam M. napisał: > > *Website:* https://aahframework.org > *Documentation:* https://docs.aahframework.org > > *Release Notes:* v0.6 > https://docs.aahframework.org/release-notes.html > > Please give it a

[go-nuts] Re: Go install speedup within docker

2017-06-12 Thread Vladimir Varankin
I think the difference is that I use my project root as my GOPATH, so pkg directory ($GOPATH/pkg), which stores the build cache, is mounted inside the container every time I run the build. What if you try ``` docker container run --rm -v $PWD:/usr/src/prj -v $PWD/_build:/usr/pkg ... ``` Doing