An open API service indexing awesome lists of open source software.

https://github.com/ilramdhan/learn-go-journey

My journey of learning Go from scratch through a Udemy course.
https://github.com/ilramdhan/learn-go-journey

beginer course go golang learn-go learn-golang udemy-course

Last synced: 8 months ago
JSON representation

My journey of learning Go from scratch through a Udemy course.

Awesome Lists containing this project

README

          

# 📚 Go Mini Projects

This repository contains a collection of **mini projects** created while learning the Go programming language.

## 🗂️ Project Structure

### 01-go-basics

#### 💰 investment-calculator

**Description:**
A simple investment calculator that calculates the future value of an investment based on user inputs such as initial amount, interest rate, and duration.

**Features:**
- Calculates yearly investment growth
- Displays results in a formatted table
- Accepts user inputs for flexibility

**Files:**
- `invest_calculator.go` – main Go program
- `invest-calculator.exe` – executable build for Windows
- `.idea` – IDE configuration folder (GoLand)

#### 📈 profit-calculator

**Description:**
A profit calculator that determines the profit from a product sale by taking purchase price and selling price as inputs.

**Features:**
- Calculates profit amount and percentage
- Simple command-line interaction
- Easy to extend for tax or discount calculations

**Files:**
- `profit_calculator.go` – main Go program
- `profit-calculator.exe` – executable build for Windows
- `.idea` – IDE configuration folder (GoLand)

## 🚀 How to Run

### 🔧 Prerequisites

- Install [Go](https://golang.org/dl/) in your system.

### ▶️ Run Directly with Go

Navigate to the project folder you want to run and execute:

```bash
go run filename.go
```

Replace `filename.go` with the actual file name, for example:

```bash
go run invest_calculator.go
```

### 🛠️ Run Built Executable

If you have already built the project:

```bash
./filename.exe
```

Replace `filename.exe` with the actual executable file name.

## 💡 Notes

- The `.idea` folders contain IDE settings and can be ignored if not using GoLand.
- These projects are created purely for learning purposes. Contributions, suggestions, and improvements are welcome.

## 👤 Author

**Ilham Ramadhan**

## 📄 License

This repository is licensed under the MIT License.

---

* 📝 **Feel free to explore, fork, and star this repository if you find it helpful for your Go learning journey!**