[go-nuts] Calling a Windows DLL with golang.org/x/sys/windows instead of syscall

2016-06-30 Thread Shy Robbiani
The Wiki contains an article about "Calling a Windows DLL" ( https://github.com/golang/go/wiki/WindowsDLLs) using syscall. I used this many times since I started working with Go. Now, in the syscall package documentation I read that syscall has been locked down and instead of syscall the

[go-nuts] Re: Singleton pattern for a client handle

2016-06-30 Thread Shy Robbiani
If you really need this, Svett Ralchev provides a nice example using sync.Once() in his blog: http://blog.ralch.com/tutorial/design-patterns/golang-singleton/ On Thursday, June 30, 2016 at 8:29:32 AM UTC+2, krma...@gmail.com wrote: > I want a single instance of a client handle to be

[go-nuts] Re: GUI for Go

2016-06-30 Thread Shy Robbiani
I lost a little bit the focus on this topic but you might take a look at the various projects on Github dealing with GUIs. The following links provide an overview of what's available today. http://libs.club/golang/media/gui https://golanglibs.com/category/gui Qt bindings are just one way to