Re: [go-nuts] Go protocol proxy, best practices

2016-08-25 Thread Zlatko Čalušić
Hello, it would be hard to give you a complete solution without knowing many more details about your application. So to comment on just one part, spawning goroutine, or two, per connection. It is absolutely THE correct way in Go. All those goroutines will be effectively mapped to system thre

Re: [go-nuts] Go 1.8 Beta 1 is released

2016-12-02 Thread Zlatko Čalušić
Hello, and thanks for another great Go release! I have just one question, and it's not specific to this beta, but all Go betas and rc-s. I compile Go from repository like this: cd $HOME/src/go.googlesource.com/go git checkout -f master git clean -fdx git pull --ff-only git checkout -f go1.8b

Re: [go-nuts] Go 1.8 Beta 1 is released

2016-12-02 Thread Zlatko Čalušić
On 02.12.2016 11:09, minux wrote: On Fri, Dec 2, 2016 at 4:58 AM, Zlatko Čalušić <mailto:zcalu...@bitsync.net>> wrote: Hello, and thanks for another great Go release! I have just one question, and it's not specific to this beta, but all Go betas and rc-s.

Re: [go-nuts] goimports has been updated

2016-07-15 Thread Zlatko Čalušić
I'd like to second this! Also have the linux tree in $GOPATH, and ever since I put it there goimports slowed down. Some kind of subtree exclusion mechanism would be great. Nevertheless, thank you for your work on probably the most useful Go tool out there, Brad! I can't imagine programming i

Re: [go-nuts] goimports has been updated

2016-07-15 Thread Zlatko Čalušić
On 15.07.2016 16:31, Jan Mercl wrote: On Fri, Jul 15, 2016 at 4:29 PM Thomas Frössman > wrote: > Yeah. I also have (several) linux trees, gcc's and stuff in my GOPATH.. I would really like some global config way to tell goimports/gorename/... to ignore a bunch of

Re: [go-nuts] building an exe that will embed import in the .exe

2016-08-03 Thread Zlatko Čalušić
Hello, When you compile go program, all your source and source from all imported packages is compiled together in the same binary (.exe). You don't need to worry about it. That's actually one of the go strengths, no dll hell. On 03.08.2016 07:57, ov35...@gmail.com wrote: Hi, i have a prog

Re: [go-nuts] two questions

2017-02-13 Thread Zlatko Čalušić
On 13.02.2017 17:50, Simon Perfer wrote: I've been working on a pet science project: building an initramfs with only one file. Specifically, an executable written in Go. The only thing I can't figure out is how to do a "modprobe" in Go without actually having the modprobe utility. Is there