Re: [go-nuts] Error handling

2023-08-01 Thread 'Luke Crook' via golang-nuts
And of course I forgot the "if" at the beginning of all those conditional. *sigh* -- 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...@googlegr

Re: [go-nuts] Error handling

2023-08-01 Thread 'Luke Crook' via golang-nuts
On Tue, Aug 1, 2023 at 10:18 AM DrGo wrote: > >> What happens if all of a sudden, the makeSomeNoise returns 2 errors? Then > you have to undo the orelse construction, for what I understand. > No as long as both errors are meant to be handled as errors. Orelse will > be triggered if any or both we

Re: [go-nuts] Re: Best IDE for GO ?

2023-08-21 Thread 'Luke Crook' via golang-nuts
Yes, the second half sounded like a request for software life cycle tooling to be integrated into the IDE; https://en.wikipedia.org/wiki/Application_lifecycle_management On Sun, Aug 20, 2023 at 12:56 AM Christoph Berger < christoph.g.ber...@gmail.com> wrote: > > *> What I'm looking for is the a

Re: [go-nuts] Re: Is it expected that signal.NotifyContext() changes the execution thread?

2023-10-02 Thread &#x27;Luke Crook&#x27; via golang-nuts
It's a thing. In https://www.libsdl.org/ all rendering calls have to be performed in the main thread. And I believe in Windows, the event loop has to run in the same thread that created the window. /Luke On Mon, Oct 2, 2023 at 10:08 PM Kurtis Rader wrote: > Thank you to Ian and TheDiveO. I don'

Re: [go-nuts] Re: Recommended way to distribute pre-compiled C-dependencies for modules using CGO ?

2023-11-03 Thread &#x27;Luke Crook&#x27; via golang-nuts
For Windows, could you package and distribute the prebuilt binaries using an MSI file? (https://nsis.sourceforge.io/Main_Page) On Fri, Nov 3, 2023 at 12:10 PM Robert Engels wrote: > Better to rewrite the native portions in Go. > > If you’re not going to do that, just give instructions on how t