2. Datatypes in Go — A Book of Go

Louis Petrik
2 min readMay 14, 2024
Source: the author

In this chapter, we will discuss the forms of data in the Go programming language.

Go is statically typed. This means that once a variable is assigned to have a certain data type, it can’t be assigned any other type. In most programming languages, this assignment of the type is done explicitly, by writing down the type of the variable.

--

--