Data types in Golang Data types specify what type of data a valid Go variable can hold. In the Go language, types are divided into four categories as follows: