This project demonstrates how to fetch market data from a PostgreSQL database hosted on Aiven cloud, process the data using Go routines, and generate a PDF report from the fetched data. The market data is sourced from a CSV file downloaded from Kaggle, which is then converted to JSON format and loaded into the PostgreSQL database to simulate real-world scenarios.
- Go programming language (version 1.13 or higher)
- Aiven PostgreSQL database instance
- Sample market data CSV file (e.g., downloaded from Kaggle)
- Clone the repository to your local machine:
git clone https://github.com/IMRANDIL/Go_real_world_example.git
- Go to the project directory
- Then run
go mod tidy
- Run the project
- Then run
go run main.go