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

2023-10-11 Thread Richard Wilkes
It isn't a great solution, but I currently include the built library files and necessary headers in the git repo alongside the Go code. You can see an example here https://github.com/richardwilkes/unison/tree/main/internal/skia where I include the skia library I built for use in my UI framework

Re: [go-nuts] Rethink possibility to make circular imports

2018-11-30 Thread Richard Wilkes
I've found that I end up lumping a bunch of things together into a much larger package than I'd prefer precisely because there is often no good way to break a logical piece out into its own package without creating a circular dependency. For me at least, this makes the code harder to navigate b

[go-nuts] Re: [ANN] goey - Declarative, cross-platform GUIs

2018-09-06 Thread Richard Wilkes
Hi, Robert. Do you have any plans to add macOS support to this? - Rich On Wednesday, September 5, 2018 at 9:07:41 PM UTC-7, Robert Johnstone wrote: > > This is an initial announcement of goey, a package for declarative, > cross-platform GUIs. The range of controls, their supported properties a

Re: [go-nuts] Re: Go += Package Versioning

2018-02-23 Thread Richard Wilkes
Ah… yes, that would probably let me work on it. Didn’t occur to me — thanks for pointing it out. It seems unpleasant to deal with, though, especially since there is a non-zero chance that you then commit your go.mod file with that change inadvertently. I think a local replace will do that. Some

[go-nuts] Re: Go += Package Versioning

2018-02-23 Thread Richard Wilkes
Overall, I really like the direction vgo is headed. One thing that seems to be difficult, if not impossible to do (I've yet to figure out how to do so, anyway) is to work with code that has yet to be committed and resides outside of your module. This is a frequent occurrence for me, as I often

Re: [go-nuts] vgo and enterprise GitHub servers

2018-02-23 Thread Richard Wilkes
> they call it :) > > On Thu, Feb 22, 2018 at 5:16 PM, Richard Wilkes > wrote: > > Is it expected that vgo should work with enterprise GitHub servers at > this > > point in time? When trying it out, I find I'm getting messages like this > > during impor

[go-nuts] vgo and enterprise GitHub servers

2018-02-22 Thread Richard Wilkes
Is it expected that vgo should work with enterprise GitHub servers at this point in time? When trying it out, I find I'm getting messages like this during import resolution: vgo: resolving import "jaxf-github.fanatics.corp/forge/furnace" > findRepo: XML syntax error on line 25: unescaped < insid

[go-nuts] Re: is there an atexit?

2018-02-09 Thread Richard Wilkes
You could try something like this: https://github.com/richardwilkes/toolbox/blob/master/atexit/atexit.go I think the discussion here has missed the primary reason I have such code in many of my programs: to cleanly shutdown when asked to terminate, either by CTRL-C or someone issuing a catchabl

Re: [go-nuts] cgo: support for exporting structs?

2016-10-16 Thread Richard Wilkes
ps://asmaloney.com <https://asmaloney.com/> > twitter ~ @asmaloney <https://twitter.com/asmaloney> > > On Sun, Oct 16, 2016 at 12:51 PM, Richard Wilkes <mailto:raw.softw...@gmail.com>> wrote: > Andy, > > What's the status of getting this change into G

Re: [go-nuts] cgo: support for exporting structs?

2016-10-16 Thread Richard Wilkes
Andy, What's the status of getting this change into Go? I have an issue that could benefit from this particular support and was curious if/when I'd be able to use it. Thanks! - Rich On Sunday, August 9, 2015 at 4:24:52 PM UTC-7, Andy Maloney wrote: > > I imagine it will take some back-and-for

Re: [go-nuts] cgo: support for exporting structs?

2016-10-16 Thread Richard Wilkes
; twitter ~ @asmaloney <https://twitter.com/asmaloney> > > On Sun, Oct 16, 2016 at 3:07 PM, Richard Wilkes <mailto:wil...@me.com>> wrote: > Hi, Andy. > > Thanks for replying. No, I was interested in the change to allow a struct > defined in Go to be passed