Skip to content

Commit

Permalink
go versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ericuni committed Aug 25, 2024
1 parent c1392bb commit acfd5a9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions zsh/zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@ export GO111MODULE=on
export GOPROXY="https://goproxy.cn|https://proxy.golang.org|direct"
export GOSUMDB="sum.golang.google.cn"

# go官方多版本方案
# go install golang.org/dl/go1.22.6@latest
# go1.22.6 download
alias go20="go1.20.14"
alias go21="go1.21.13"
alias go22="go1.22.6"
Expand Down

0 comments on commit acfd5a9

Please sign in to comment.