Tag go tutorial

GoLang : Loops and conditions

Go uses a single for loop to handle every looping scenario. Learn how to use it as a basic loop, a while loop, an infinite loop, and a for range loop with practical code examples.

Hands On Program #1

Build a simple Go program that reads two numbers from the user and prints their sum, product, difference, and quotient, reinforcing your understanding of variables, operators, input, and formatted output in Go

Terraform workflow and hello world

Terraform uses Hashi Corp configuration language (HCL) for writing scripts. In this guide, we’ll explore the basic building blocks of Terraform and its life cycle. Instead of being a programming language, HCL serves as a descriptive language that describes your…

Printing Data in Go Lang

Learn the complete guide to printing data in Go Lang using fmt.Print, fmt.Println, and fmt.Printf functions. Master formatting verbs, understand standard output streams, and discover when to use each function with practical examples and real-world usage patterns.

Hello Go Lang

Learn the basic structure of a Golang hello world program with a clear, line-by-line explanation. This post covers packages, imports, the main function, and how to
build and run your first Go program.