|
|
|
|
|
by bow_
1457 days ago
|
|
It's neat ~ could have used checks in-between to ensure e.g. `$(go env GOBIN)` is not empty. For something more comprehensive (of course with a larger install size) and the possibility of handling not just Go, I have had good experiences with asdf [1]. [1] https://asdf-vm.com/ |
|
You don't even need to manually switch, you can set a version per folder!
Of course, the thing about bash scripts is that they are super specialized to do one thing, that usually only really works for the creator's workflow.