Category: Go

0

Chapter 11: Go Output

Go Output” — how you actually show things to the user (or logs, files, etc.) in Go. “Go Output” usually means printing / displaying data to the console (standard output = stdout), especially for...

0

Chapter 10: Go Constants

1. What is a Constant in Go? (Core Idea) A constant is a name bound to a compile-time fixed value. Value must be known at compile time (literals, expressions of constants only). Cannot be...

0

Chapter 9: Naming Rules

Go Variable Naming Rules & Conventions — this is where Go feels very different from Java/Python/C#. Go has two layers: Strict syntax rules (from the language spec — what compiles, what doesn’t) Strong idiomatic...

0

Chapter 8: Declare Multiple Variables

Declare Multiple Variables — one of Go’s nicest features for clean, readable code. In Go, declaring multiple variables at once is very common and encouraged — it makes code shorter, groups related values, and is...

0

Chapter 7: Declare Variables

Declare Variables — so let’s zoom in purely on the declaration part itself. Declaring a variable in Go means telling the compiler: “Hey, I want to create a named storage spot in memory” “This spot...

0

Chapter 6: Go Variables

Go Variables — one of the very first things you actually use when writing real code. Variables in Go are storage locations that hold values (numbers, text, booleans, etc.). Go is statically typed (type...

0

Chapter 5: Go Comments

Go Comments. Comments in Go are super straightforward compared to many languages — no fancy Javadoc tags or weird annotations required for basic use. But Go has two kinds of comments, and one of...

0

Chapter 4: Go Syntax

Go Syntax” means the complete set of rules defining how code must look: keywords, punctuation, how declarations work, control structures, operators, etc. Go’s syntax is famous for being: Very clean and minimal (no semicolons...

0

Chapter 3: Go Getting Started

What “Getting Started with Go” Actually Is Goal: Get Go installed → write/run first code → understand modules (modern dependency system) → call code from an external library. Time: 10–20 minutes if you follow...

0

Chapter 2: Go Introduction

Go Introduction “Go Introduction” is not one single fixed page or command (unlike “A Tour of Go”). Instead, it’s the general name people use when they want: The very first explanation of what Go...