Using Go's Variable Types

Get introduced to Go's variable types and learn how to declare them.

Modern programming languages are built with primitives called types. When we hear that a variable is a string or integer, we are talking about the variable’s type. With today’s programming languages, there are two common type systems used:

  • Dynamic types (also called duck typing)

  • Static types

Get hands-on with 1400+ tech skills courses.