A collection of small projects and code samples written in Go, created for learning and practice.
(Replace with your actual project folders)
hello-world/– the classic Go "Hello World".calculator/– a simple command-line calculator.todo-api/– a tiny RESTful API for managing a todo list.web-scraper/– a minimal web scraper for data extraction.
- Go (version 1.18 or later)
- (Optional) Database like PostgreSQL if used in some projects
-
Clone the repository:
git clone https://github.com/amingeek/mini-go.git
-
Navigate into any project and run it:
cd mini-go/hello-world go run main.go -
For projects with modules and dependencies:
go mod tidy go run main.go
- Each project is single-purpose and small.
- Uses
go.modfor dependency management. - Covers core concepts such as:
- HTTP routing & REST APIs
- CLI input/output
- Concurrency with goroutines and channels
mini-go/
├── hello-world/
│ └── main.go
├── calculator/
│ └── calculator.go
├── todo-api/
│ ├── main.go
│ ├── handlers.go
│ └── go.mod
└── README.md ← this file
If you have a fun or useful mini-project in Go that fits here, contributions are welcome!
- Open an issue describing your idea.
- Fork this repo and create a Pull Request.
| Feature | Description |
|---|---|
| Goal | Quick learning of Go basics |
| Run | go run main.go (simple projects) or go mod tidy && go run main.go (with dependencies) |
| Contributions | PRs with useful mini-projects are welcome |