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

Variable Declarations

How to declare variables in Go using the var statement and short variable declarations, including zero values, scope, and shadowing

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, and common pitfalls every beginner should know.

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.