This repository is designed as a learning resource for beginners who want to start learning Go (Golang). It provides a series of tutorials and basic applications that cover fundamental Go concepts and techniques.
Follow these steps to install and run the project locally:
-
Install Go:
Visit the official Go website at https://golang.org/dl/ and download the latest version that matches your computer's operating system (Windows, macOS, or Linux).
After installation, verify that Go is installed correctly by running:
go version
-
Clone the repository:
git clone https://github.com/stfuxbm/golang-basic.git
-
Navigate to the project directory:
All main application files are organized in separate folders based on topics (e.g.,
anon-func
,channel
,constant
,func
, etc.). You can navigate to the folder you want to explore and run the respectivemain.go
file. Example:cd anon-func go run main.go
Contributions are welcome. Fork this repository, create a new branch, and submit a pull request. Please follow the coding guidelines and add tests where necessary.
This project is licensed under the MIT License. You are free to use, modify, and distribute the code.