TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

The `go switch` function

28 点作者 anomalroil将近 3 年前

2 条评论

bow_将近 3 年前
It&#x27;s neat ~ could have used checks in-between to ensure e.g. `$(go env GOBIN)` is not empty.<p>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].<p>[1] <a href="https:&#x2F;&#x2F;asdf-vm.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;asdf-vm.com&#x2F;</a>
评论 #31926720 未加载
评论 #31930642 未加载
zuzuleinen将近 3 年前
bob build sytem also has a convenient way to change go version for your projects[1]<p>it uses nix under the hood so it won&#x27;t mess with your local system<p>[1] <a href="https:&#x2F;&#x2F;bob.build&#x2F;docs&#x2F;getting-started&#x2F;package-management#using-a-package-with-multiple-versions" rel="nofollow">https:&#x2F;&#x2F;bob.build&#x2F;docs&#x2F;getting-started&#x2F;package-management#us...</a>