glow icon indicating copy to clipboard operation
glow copied to clipboard

Just use go install

Open jonaustin opened this issue 3 years ago • 7 comments

Add a note to just use go install for installation.

Perhaps obvious, but I tend to simply use go as a package manager for golang projects.

Edit: Also, this is just super nice; been looking for a good terminal markdown viewer and this renders beautifully, thanks!

jonaustin avatar Nov 22 '21 00:11 jonaustin

hmm...I'm fairly new to golang, and after poking at this a bit more; while go install makes installing packages easy; there's apparently no way to easily upgrade those packages* (edit: no way to mass-update; can of course use go install again individually) after the install without using a 3rd party tool (e.g. https://github.com/shurcooL/Go-Package-Store )

* apparently this used to be possible with go get -u all, but that no longer works and I guess there's no alternative.

so I guess I'll close this to avoid confusion when folks want to upgrade after using go install.

jonaustin avatar Nov 22 '21 00:11 jonaustin

Adding a go install command to the README isn't actually the worst idea. Probably below the go build instructions as it mostly targets other Go developers & users.

muesli avatar Feb 07 '22 04:02 muesli

oh, yeah, I meant to re-open this after I realized that's just normal with Go; thanks, reopened :+1:

jonaustin avatar Feb 10 '22 01:02 jonaustin

by the way -- all the charm stuff just looks fantastic, great example of why OSS is wonderful!

jonaustin avatar Feb 10 '22 01:02 jonaustin

Hey @jonaustin I'd love to get this merged. We've actually been discussing how we want to structure our installation instructions to be consistent across our apps. If you wouldn't mind refactoring it to look like the installation/build instructions for melt that would be amazing and I'd be happy to get your PR merged

bashbunni avatar May 05 '22 18:05 bashbunni

@bashbunni Sure thing! I should have a chance to refactor it this weekend.

jonaustin avatar May 06 '22 02:05 jonaustin

@bashbunni Should be good now =)

jonaustin avatar May 12 '22 02:05 jonaustin