Variables Constants And Basic Types - Golang - Complete Documentation by ntxm.org

Variable Declarations

An overview of every way to declare variables in Go - var:= and zero values - with guidance on scope, shadowing and when to pick each form

Basic Data Types in Go

An overview of Go's built-in data types, booleans, numeric types, strings, and architecture-dependent integers, with practical examples, memory fundamentals.

Constants in Go

Learn how to declare and use constants in Go, including iota, constant expressions, and the default types of untyped constants.

Type Conversions

How to explicitly convert between types in Go, covering numeric and string conversions, and the relationship between conversion and assignability.