29. Go - Types Declaring

Declaring a type:

type variableNameAge int
type variableNamePerson struct {}
type variableNameDecimal float64
type variableNameName string
type variableNameBig bool

var toddAge variableNameAge = 50
var toddName variableNameName = "todd"



Comments

Popular posts from this blog

20. Data Analytics - Analyze Data to Answer Questions - Week 1

14. Go - Methods and Pointers

4. C# - List