{"id":17597353,"url":"https://github.com/ibilalkayy/customer-billing-system","last_synced_at":"2025-03-29T20:26:30.807Z","repository":{"id":140757255,"uuid":"365865621","full_name":"ibilalkayy/Customer-Billing-System","owner":"ibilalkayy","description":"This repository contains the code of a customer billing system in which a buyer can buy different things and see the shopping record also.","archived":false,"fork":false,"pushed_at":"2021-10-07T16:54:59.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T00:08:52.667Z","etag":null,"topics":["buyer","csv","customer-billing","shopping-record"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ibilalkayy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-09T23:07:56.000Z","updated_at":"2023-09-08T18:22:04.000Z","dependencies_parsed_at":"2024-06-21T16:44:45.395Z","dependency_job_id":null,"html_url":"https://github.com/ibilalkayy/Customer-Billing-System","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibilalkayy%2FCustomer-Billing-System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibilalkayy%2FCustomer-Billing-System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibilalkayy%2FCustomer-Billing-System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibilalkayy%2FCustomer-Billing-System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ibilalkayy","download_url":"https://codeload.github.com/ibilalkayy/Customer-Billing-System/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246239846,"owners_count":20745778,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["buyer","csv","customer-billing","shopping-record"],"created_at":"2024-10-22T09:24:54.347Z","updated_at":"2025-03-29T20:26:30.780Z","avatar_url":"https://github.com/ibilalkayy.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Customer-Billing-System\nThis repository contains the code of customer billing system in which a buyer can buy different things like vegetables and fruits and see the shopping record by entering the name or the phone number from the file and get access to the account details.\n\nThis software is completely written in Go language and it contains five functions that will perform different tasks and the main function that will call the functions. All the functions are managed in two parts. The first part is **start shopping** in which a user will buy a product and the record will be saved in a **CSV** file. The second part is **Check the shopping record** in which a user will access the account by simply typing the name or the phone number.\n\n---\n\n### Table of Contents\n\nThe headers will be used to reference the location of destination.\n\n- [The First Part](#the-first-part)\n- [The Second Part](#the-second-part)\n- [Author Info](#author-info)\n\n---\n\n# The First Part\nThe first part as I have written above will show the shopping option. This part contains four functions. \n1. ```listItems()``` will show all the product names and their prices so that a user can easily choose from them.\n2. ```oneLine()``` will accept the input with spaces. It means if a user entered the firstname and the lastname. Then the space should not be a barrier and both names with spaces will be accepted. Although this function is not directly used in ```main()``` function but it will perform the task in ```addCustomer()```.\n3. ```addCustomer()``` will take the details from the customer like his name, address, phone number, product which he wants to buy, and the payment. After entering the details, the item will be given to him and the price will be deducted.\n4. ```writeFile()``` will write the all the data in a **CSV** file as a record.\n\n[Back To The Top](#Customer-Billing-System)\n\n---\n\n# The Second Part\nThe second part will check the shopping record. It contains only one function.\n\n1. ```showData()``` will take the name or phone number of a user and the data from the **CSV** will be shown to him if it is present.\n\n[Back To The Top](#Customer-Billing-System)\n\n---\n\n## Author Info\n\n- YouTube - [ibilalkayy](https://www.youtube.com/channel/UCBLTfRg0Rgm4FtXkvql7DRQ)\n- LinkedIn - [ibilalkayy](https://www.linkedin.com/in/ibilalkayy/)\n- Twitter - [ibilalkayy](https://twitter.com/ibilalkayy)\n\n[Back To The Top](#Customer-Billing-System)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibilalkayy%2Fcustomer-billing-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibilalkayy%2Fcustomer-billing-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibilalkayy%2Fcustomer-billing-system/lists"}