This repo holds important Go commands, scripts and Go issue solving documentation.
๐ Git Windows Authentication
๐ Git Linux SSH Authentication
Run the appropriate install
script to install Go in your machine:
- install/go.sh for Ubuntu x64 Go 1.18 installation.
- install/go_386_18.sh for Linux x86 Go 1.18 installation.
- install/go_amd64_17.sh for Linux x64 Go 1.17 installation.
Generates the binary file for hello
cmd method.
env GOOS=<os> GOARCH=<architecture> go build cmd/hello/main.go
<os>
- could bewindows
,linux
ordarwin
for Mac.<architecture>
- could bearm
,386
for x86 andamd64
for x64.
Run the linter.sh
to generate the lint checkup output file, based on .golangci.yaml
configs.
Before to run, update the following variables:
PROJECT_NAME
for Git project name.WINDOWS_PATH
with the project path in your Windows machine.