To initialise go project, run go mod <name-of-your-project>

To run go file, run go run <filename>.go

Go is a strongly and statically typed language
Go uses goruntime in executable
it uses goruntime to cleanup unused memory at runtime

  • Go has different types of numbers (ints, floats, complex).
  • I can change types of those numbers
  • Different types of numbers take more or less space

By defualt, stick to the following primitive types unless you have a very good reason:

Useful Libraries and Packages

Air - Live reload for Go
Chi - Go Router that uses stdlib Go http package