Data Types
Go includes several built-in types you will use in every program.
- string
- int
- float64
- bool
- slice
- map
GO
nums := []int{1, 2, 3}
fmt.Println(len(nums))Try it Yourself
Run this GO example in your local environment or course sandbox.
Go Tutorial
Source: Bro Code
Go includes several built-in types you will use in every program.
nums := []int{1, 2, 3}
fmt.Println(len(nums))