Re:Gio: Portable, Immediate Mode GUI in Go
by rob74 on Tuesday October 08, 2019 @07:59AM
(#21191240)
I wanted to try this out right away, but stumbled over the fact that I don't know how to use "go get" with Sourcehut, or even if it's supported. Of course it's probably easy to find out, but a "getting started" section wouldn't hurt. The "installation" page only describes the installation of the dependencies...
[ Parent
| on HN ]
Re:Gio: Portable, Immediate Mode GUI in Go
by Sir_Cmpwn on Tuesday October 08, 2019 @08:05AM
(#21191284)
go get has nothing to do with github. Why wouldn't it work? Just use it the usual way. The readme directs you to a hello world program:
https://git.sr.ht/~eliasnaur/gio/tree/master/example/hello/h...
Re:Gio: Portable, Immediate Mode GUI in Go
by rob74 on Tuesday October 08, 2019 @09:33AM
(#21192085)
Ok, after I noticed that the URL of the git repo is at the top of the page (somehow I managed to overlook it), I tried "go get git.sr.ht/~eliasnaur/gio", only to find out that wasn't correct, because the project uses a "vanity URL", so apparently I have to use "go get gioui.org/gio" or something like that. My point was that even if it's pretty straightforward for a reasonably experienced Go developer, it doesn't hurt to mention it...