Automate Go Setup
Note: go-dl IS NOT A VERSION MANAGER. go-dl simply eliminates the tedious process of manually downloading Go from Go's website, extracting the tar file, setting up permissions, and moving to /usr/local.
Make sure the following tools are installed on your system:
gowget- for downloading Go releasestar- for extracting archives
go install github.com/joybiswas007/go-dl@latest   
git clone https://github.com/joybiswas007/go-dl
cd go-dl
go mod tidy
go build -o go-dl main.go
sudo mv go-dl /usr/local/bin/
go-dl
# Show help
go-dl --help