This repository contains a Go development environment for offline installation.
Go Version: 1.20.3
Git clone into a directory:
~/ > git clone https://devt.de/krotik/env-go.git
Add bin directory to the PATH variable:
PATH=$PATH:~/env-go/bin
This is usually an entry in ~/.bashrc
. This will enable support scripts like cover-go
(output the total test coverage of a project).
Run setup.sh:
~/env-go/setup/ > setup.sh
Run in a Go repository env-go
.