Golang BasicsHello World Variables Primitive datatypes Arrays And Slices Control Statements Loops Functions Pointers Maps Packages and Modules Command-Line Arguments Defer Statement Panic and Recover Type Assertions and Switches Embedding String ManipulationLast updated on February 2, 2026