This repository contains practice code for various concepts in Go programming language. Each concept has its own folder where you can find examples and exercises to learn and practice Go.
The loops
folder contains examples and exercises related to loops in Go. It covers for
loops, range
loops, and other loop-related concepts.
The ifElse
folder contains examples and exercises related to conditional statements (if
, else
, else if
) in Go.
The structs
folder contains examples and exercises related to Go structures. It covers defining and working with structs, using methods on structs, and accessing fields.
To explore the examples and exercises for each concept, navigate to the corresponding folder and check the source files. You can run the Go programs using the Go compiler (go
) installed on your system.
go run filename.go