12 ms·
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
by rob74 7y ago
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...
- Sir_Cmpwn 7y agogo 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/hello.go https://git.sr.ht/~eliasnaur/gio/tree/master/example/hello/h...
- rob74 7y agoOk, 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...