This repository contains a collection of Go programs that I practiced while learning the Go programming language. Each program focuses on a specific concept, feature, or functionality in Go, making it a helpful resource for anyone who wants to explore and understand the language better.
The repository includes programs covering topics such as:
- Basic syntax and data types
- Functions and closures
- Loops and conditional statements
- Arrays, slices.
- Structs and interfaces
- Goroutines and concurrency
- File handling
- Error handling
To run the programs in this repository, ensure you have Go installed on your system. You can download it from the official Go website.
To clone this repository, use the following command:
git clone https://github.com/binguliki/GoPractice.git
Navigate to the directory containing the program you want to run and execute the following command:
go run <filename>.go
For example:
go run hello_world.go
This repository is a personal practice archive, but contributions are welcome! If you would like to improve or add new examples, feel free to fork the repository, make your changes, and submit a pull request.