Cheatsheet for Golang beginners

1 - Create Git startup repository

See [first demo application in go]

1.1 - Setup Git, SSH and VSCcode locally

git config --global user.email "[email protected]"  
git config --global user.name "RobertTC32"
git config --global init.defaultbranch "main"  
git config --global pull.ff "only"  
# For windows workstations, add:  
git config --global core.autocrlf "true"  
git config --global core.editor "notepad"  
# For linux workstations, add:  
#   git config --global core.autocrlf "false"  
#   git config --global core.editor "nano"  
ssh-keygen -t ed25519 -C "[email protected]"  

1.2 - Create repository in Github/Gitea

1.3 - Branching strategy

This strategy with one shared main branch and multiple feature branches for work in progress:

2 - Prepare repo and vscode for go development

??? TODO ???

Setup golang development:

Create automation scripts for development:

3 - Develop first web applications

See [todo application which is used as go example]

??? TODO ???

Develop HelloWorld application:

Develop simplified Todo application:

4 - Containerize and deploy web applications

??? TODO ???

Containerize web applications:

Deploy web applications:

In the following "Cheatsheet for golang advanced" documentation,
the implementation of the HelloWorld and Todo application will be completed.