Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 876 Bytes

README.md

File metadata and controls

23 lines (20 loc) · 876 Bytes

govs

Golang Version Switcher
Easily switch between golang version.
Inspired by awsp.

govs

Setup

git clone [email protected]:kane8n/govs.git
cd govs
make install

Add the following to your .bashrc or .zshrc config

alias govs="source _govs"
export PATH=$PATH:~/.govs/bin

Install other versions

govs_install

It wraps the command to install multiple versions of golang described in the official GO documentation Managing Go installations.
The list of installable versions is obtained by scraping GO's All releases page to get all versions that match the OS/ARC you are running.