ankitcharolia / goenv Goto Github PK
View Code? Open in Web Editor NEWGo Version Manager (same as rbenv, pyenv, tfenv and tgenv)
License: MIT License
Go Version Manager (same as rbenv, pyenv, tfenv and tgenv)
License: MIT License
Hi,
Goenv is currently supporting only bash. Kindly add support for ZSH shell
There could be an error message when the list
command is run in case the .go
directory is missing:
./goenv --list
2023/07/20 11:15:55 Failed to read directory: open /Users/torbenwetter/.go: no such file or directory
When using a version of Go which is not installed, it is added to .bashrc
anyway:
./goenv --use 1.19.5
Using Go version 1.19.5.
Please make sure to execute: source ~/.bashrc
cat ~/.bashrc
export PATH=$HOME/.go/1.19.5/bin:$PATH
When I try to install currently active version again, it gives error: text file too busy
go run main.go --list
Installed Golang versions:
1.20.3
* 1.20.4 (Currently active GOLANG version)
1.20.5
go run main.go --install 1.20.4
Installing Go version 1.20.4...
https://dl.google.com/go/go1.20.4.linux-amd64.tar.gz
2023/08/29 19:08:05 Failed to extract and copy: open /home/acharolia/.go/1.20.4/bin/go: text file busy
exit status 1
I tried using this instead of gvm, but the GOROOT variable doesn't seem to change,
after changing the go version.
Hi.
I just got around to testing goenv.
I just typed goenv --list-remote
.
The list starts at version 1.22rc1 and ends at version 1.
So you have to scroll up.
It would be a better user experience if you did not have to scroll up and thus if the list of versions started at 1 and ended at 1.22rc1.
Just my 2 cents after 1 minute of playing around with goenv
.
@ankitcharolia please see go-nv/goenv#342. I like the idea of a higher order language for a CLI tool. Especially one using golang and goreleaser. Please comment if interested in a collaborative effort for a more "official" V3 version.
My Shell is zsh, I use goenv --install 1.21.0, Failed to extract Go version: open /home/www/.go/1.21.0/CONTRIBUTING.md: no such file or directory
`
โ ~ goenv --install 1.21.0
Installing Go version 1.21.0...
https://dl.google.com/go/go1.21.0.linux-amd64.tar.gz
2023/08/09 13:53:48 Failed to extract Go version: open /home/www/.go/1.21.0/CONTRIBUTING.md: no such file or directory
`
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
This repository currently has no open or pending branches.
.github/workflows/build-publish.yaml
actions/checkout v4
actions/setup-go v5
goreleaser/goreleaser-action v5
.github/workflows/codeql-analysis.yaml
actions/checkout v4
github/codeql-action v3
github/codeql-action v3
github/codeql-action v3
go.mod
go 1.20
github.com/cheggaaa/pb/v3 v3.1.5
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.