[go-nuts] Re: "gcc": executable file not found in %PATH%

2016-09-18 Thread Ain
esmaspäev, 19. september 2016 8:48.37 UTC+3 kirjutas loc...@gmail.com: > > Hello again. I am trying to connect to a SQLite database with the package > # github.com/mattn/go-sqlite3 and get the aforementioned error whenever I > attempt to run my program. I am running a 32-bit Windows 10 OS and

[go-nuts] Re: Websocket's (RFC6455) fate after HTTP/2??

2016-09-18 Thread cafxx
How is this related to golang? On Sunday, September 18, 2016 at 4:50:03 AM UTC+9, Srivathsan Madhavan wrote: > > Hi all, > > My apologies; I very well understand that the answers to my question here > could be subjective / opinions yet I would like to know if I could really > continue banking

Re: [go-nuts] Support of diffie-hellman-group-exchange-sha1

2016-09-18 Thread Wojciech S. Czarnecki
Dnia 2016-09-18, o godz. 01:20:12 Matt Harden napisał(a): > Why use that when ecdh is apparently more secure? https://weakdh.org/ E.g. to get a not too old device (its software) talk to golang backend? Or to got golang gatherer log in not too old mid-range network gear?

Re: [go-nuts] differences between pointer and value slice in for-range loop

2016-09-18 Thread Marvin Stenger
https://play.golang.org/p/bVizbGIMDp should work -- 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 golang-nuts+unsubscr...@googlegroups.com. For more options,

Re: [go-nuts] differences between pointer and value slice in for-range loop

2016-09-18 Thread Marvin Stenger
https://play.golang.org/p/9LQMDrDIOv should work. -- 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 golang-nuts+unsubscr...@googlegroups.com. For more options,

[go-nuts] Re: reflect, is it possible to get the [body + sign] of a func as text at runtime ?

2016-09-18 Thread mhhcbon
Hi, thanks both of you for your confirmation. I ll evaluate alternatives. -- 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] Install vim-go as a pacakge in vim 8

2016-09-18 Thread Johann Höchtl
I installed vim 8 using this ppa ppa:jonathonf/vim (seen on http://tipsonubuntu.com/2016/09/13/vim-8-0-released-install-ubuntu-16-04/) I cloned vim-go according to https://github.com/fatih/vim-go#install (Vim packages, http://vimhelp.appspot.com/repeat.txt.html#packages) The install simply

[go-nuts] Re: The site at localhost:1234 can't be reached.

2016-09-18 Thread lochbm
Thank you everyone. On Saturday, September 17, 2016 at 10:50:03 PM UTC+3, loc...@gmail.com wrote: > > Hello everyone, > > I am using Go version 1.7.1 on a 32-bit version of Windows 10 and cannot > view the contents of the address localhost:1234. > I created a server at the aforementioned

[go-nuts] reflect, is it possible to get the [body + sign] of a func as text at runtime ?

2016-09-18 Thread 'Mihai B' via golang-nuts
The body is compiled so you can't get it via reflection. -- 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 golang-nuts+unsubscr...@googlegroups.com. For more

Re: [go-nuts] differences between pointer and value slice in for-range loop

2016-09-18 Thread Fei Ding
Thanks, Marvin, I've learned a lot from your reply. And, I've written more code, like: a, b, c := 1, 2, 3 > slice1 := []int{a, b, c} > for _, n := range slice1 { > go func(n *int) {fmt.Println(*n)}() > } It seems that pass *n's address *in the code above will make a data race, which you have