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

2. FreeCodeCamp - Dynamic Programming - Learn to Solve Algorithmic Problems & Coding Challenges

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

3. Algorithms - Selection Sort