{"id":19529050,"url":"https://github.com/calculationcollective/gocalculator","last_synced_at":"2025-02-26T02:41:25.753Z","repository":{"id":72470684,"uuid":"590975788","full_name":"CalculationCollective/GOCalculator","owner":"CalculationCollective","description":"Calculator in go","archived":false,"fork":false,"pushed_at":"2023-01-20T09:27:42.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-08T16:08:00.972Z","etag":null,"topics":["calculator","go"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CalculationCollective.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2023-01-19T16:43:43.000Z","updated_at":"2023-01-27T15:26:25.000Z","dependencies_parsed_at":"2023-02-22T12:30:34.071Z","dependency_job_id":null,"html_url":"https://github.com/CalculationCollective/GOCalculator","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/CalculationCollective%2FGOCalculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CalculationCollective%2FGOCalculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CalculationCollective%2FGOCalculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CalculationCollective%2FGOCalculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CalculationCollective","download_url":"https://codeload.github.com/CalculationCollective/GOCalculator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240783113,"owners_count":19856776,"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":["calculator","go"],"created_at":"2024-11-11T01:21:39.847Z","updated_at":"2025-02-26T02:41:25.715Z","avatar_url":"https://github.com/CalculationCollective.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GOCalculator\n\n- [GOCalculator](#gocalculator)\n  - [Build the calculator](#build-the-calculator)\n  - [Use the calculator](#use-the-calculator)\n\n\n## Build the calculator\nYou either can run the calculator with\n```bash\ngo run calculator.go\n```\nor you can build it with this instruction.\n\nFirst init the repo.\n```bash\ngo mod init calculator\n``` \nand build it after with\n```bash\ngo build\n```\nNow we should have a file named `calculator`. To execute it type\n```bash\n./calculator\n```\n\n\n## Use the calculator\n\nAfter executing the calculator you can enter the first number.\n```bash\nEnter first number: 5 # 5 is the input\n```\nThen choose between the calculation functions.\n```bash\nChoose between:\n1)Addition\n2)Subtraction\n3)Multiplication\n4)Division\n1 # \u003c This is our input\n```\nWe now can enter the second number\n```bash\nEnter second number: 2 # 2 is the input\n```\nNow it should give the right output.\n```bash\n7 # 7 is the return value\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalculationcollective%2Fgocalculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcalculationcollective%2Fgocalculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalculationcollective%2Fgocalculator/lists"}