A simple command-line shopping cart application built with Go. Created as a learning project to demonstrate basic Go programming concepts from 2022/2023.
go-shop-cli is a lightweight CLI application that simulates a basic e-commerce shopping experience. Built using Go.
- View available products
- View product details
- Add products to cart
- View shopping cart
- Checkout process
- Go 1.18 or later
- Clone the repository:
git clone https://github.com/houdaslassi/goShop.git
cd goShop- Run the application:
go run main.go- View all products
- View product details by ID
- Add products to your cart
- View your cart contents
- Proceed to checkout
=== GoShop CLI ===
1. View all products
2. View product details
3. Add to cart
4. View cart
5. Checkout
6. Exit
Choose an option (1-6): 1
=== All Products ===
ID: 1
Name: Laptop
Price: $999.99
-------------------