berkayalan / go-for-devops

Golang Lectures and Practices for devops
GNU General Public License v3.0
0 stars 1 forks source link
aws go golang

go-for-devops

This repo contains golang Lectures and practises for devops. I will add new stuffs while i am learning.

Subjects

Notes

  1. In order to run files, type go run <file name>
  2. In order to create modules go mod init <module name>
  3. Modules contains packages.
  4. // is the way to add comments.
  5. If a variable should have a fixed value that cannot be changed, we can use the const keyword.
  6. The go build command compiles the packages, along with their dependencies, but it doesn't install the results.
  7. The go install command compiles and installs the packages.
  8. Golang is compiled and case sensitive language.