Skip to content

It's a script to update Golang version easily in linux

Notifications You must be signed in to change notification settings

marcos-dev88/update-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

update-go

Sumary

  1. Instalation
  2. About
  3. Instructions
  4. Usage

About

It's a script to update Golang version easily in linux

Instalation

$ git clone https://github.com/marcos-dev88/update-go

Instructions

Theres 2 flags that you can use in this project:

  • -v -> Defines the version like: 1.19 (Required)
  • -p -> Defines the path of your download. (Not required, but without this flag it will get the go path from your $GOROOT and $GOPATH, then, make sure that you have it defined in your .zshrc or .bashrc)

Usage

Getting config of paths from your $GOROOT and $GOPATH.

The official golang doc about GOROOT and GOPATH config: Go path doc

$ bash ./attgovers.sh -v 1.19

Install in a path to make installation manually

$ bash ./attgovers.sh -v 1.19 -p $HOME

About

It's a script to update Golang version easily in linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages