go-utils
Description
Multiple tools and example for golang
- database : example to use database in golang
- fichier : example to use file creation and JSON reading
- mail : example on mail
Install go linux
- get go
- extract the package
-
sudo tar -C /usr/local -xzf go1.15.4.linux-amd64.tar.gz
- add the exec command to ~/.profile
-
vim ~/.profile
- add the following line
export GOPATH=$HOME/work
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
- refresh the profile
-
source ~/.profile