Skip to content

houdaslassi/goShop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

go-shop-cli

A simple command-line shopping cart application built with Go. Created as a learning project to demonstrate basic Go programming concepts from 2022/2023.

About

go-shop-cli is a lightweight CLI application that simulates a basic e-commerce shopping experience. Built using Go.

Features

  • View available products
  • View product details
  • Add products to cart
  • View shopping cart
  • Checkout process

Requirements

  • Go 1.18 or later

Installation

  1. Clone the repository:
git clone https://github.com/houdaslassi/goShop.git
cd goShop
  1. Run the application:
go run main.go

Usage

  1. View all products
  2. View product details by ID
  3. Add products to your cart
  4. View your cart contents
  5. Proceed to checkout

Example

=== 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
-------------------

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages