Skip to content
Free Computer Courses
Courses
Search
Projects
Resources
Cheatsheets
Categories
Saved
About
Contact
Log in
Home
/
Programming
/
Go Tutorials
/ Data and control
Data and control
5 lessons in the Go course.
Full Go course
·
Search this topic
·
Programming
Variables and Types
Declare variables with explicit types or short inference.
Structs
Group related fields into struct types.
Slices
Store growable sequences with slices built on arrays.
Maps
Store key-value pairs with Go maps.
Control Flow
Branch with if and switch, and loop with for.