Skip to content

ilramdhan/learn-go-journey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

📚 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 in your system.

▶️ Run Directly with Go

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

go run filename.go

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

go run invest_calculator.go

🛠️ Run Built Executable

If you have already built the project:

./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!

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages