This repo contains golang Lectures and practises for devops. I will add new stuffs while i am learning.
Subjects
- Basics
- Project Examples
- Devops Examples
- AWS Implementations
Notes
- In order to run files, type
go run <file name>
- In order to create modules
go mod init <module name>
- Modules contains packages.
- // is the way to add comments.
- If a variable should have a fixed value that cannot be changed, we can use the
const
keyword. - The
go build
command compiles the packages, along with their dependencies, but it doesn't install the results. - The
go install
command compiles and installs the packages. - Golang is compiled and case sensitive language.