{"id":29649766,"url":"https://github.com/iwdgo/largeoutput","last_synced_at":"2025-07-22T04:35:18.936Z","repository":{"id":57507075,"uuid":"132619912","full_name":"iwdgo/largeoutput","owner":"iwdgo","description":"Testing large outputs of ordinary exercises","archived":false,"fork":false,"pushed_at":"2024-08-19T06:21:11.000Z","size":112,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-19T07:37:56.470Z","etag":null,"topics":["go","golang","ordinary-exercises","testing"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/iwdgo/largeoutput","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iwdgo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-05-08T14:20:00.000Z","updated_at":"2024-08-19T06:21:14.000Z","dependencies_parsed_at":"2023-02-10T06:05:14.924Z","dependency_job_id":"6a7bbf90-a691-485f-b5a2-04b2fb916696","html_url":"https://github.com/iwdgo/largeoutput","commit_stats":{"total_commits":101,"total_committers":2,"mean_commits":50.5,"dds":0.07920792079207917,"last_synced_commit":"9599ef57c83f361e4e8cd0b9d9ad0af65220e733"},"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"purl":"pkg:github/iwdgo/largeoutput","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iwdgo%2Flargeoutput","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iwdgo%2Flargeoutput/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iwdgo%2Flargeoutput/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iwdgo%2Flargeoutput/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iwdgo","download_url":"https://codeload.github.com/iwdgo/largeoutput/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iwdgo%2Flargeoutput/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266428482,"owners_count":23927007,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["go","golang","ordinary-exercises","testing"],"created_at":"2025-07-22T04:35:18.210Z","updated_at":"2025-07-22T04:35:18.915Z","avatar_url":"https://github.com/iwdgo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Go Reference](https://pkg.go.dev/badge/github.com/iwdgo/largeoutput.svg)](https://pkg.go.dev/github.com/iwdgo/largeoutput)\n[![Go Report Card](https://goreportcard.com/badge/github.com/iwdgo/largeoutput)](https://goreportcard.com/report/github.com/iwdgo/largeoutput)\n[![codecov](https://codecov.io/gh/iwdgo/largeoutput/branch/master/graph/badge.svg)](https://codecov.io/gh/iwdgo/largeoutput)\n\n[![Build Status](https://api.cirrus-ci.com/github/iwdgo/largeoutput.svg)](https://cirrus-ci.com/github/iwdgo/largeoutput)\n[![Build status](https://ci.appveyor.com/api/projects/status/eimlas99romrrro0?svg=true)](https://ci.appveyor.com/project/iwdgo/largeoutput)\n[![Go](https://github.com/iwdgo/largeoutput/actions/workflows/go.yml/badge.svg)](https://github.com/iwdgo/largeoutput/actions/workflows/go.yml)\n\n# Some ordinary exercises using modules\n\n- **Binedit** : Produce a copy of a file named \"data.bin\" that does not fit in memory, while deleting every seventh byte.\n\n- **Modulo37** : Output numbers following some rules. The module outputs sequentially the integers from 1 to 99.\n\n- **Sumofconverts** : Convert a set of strings which contains numbers. It returns the sum of the items representing numbers and skips others.\nA recursive and non-recursive version are benchmarked.\n\nMore documentation in each package.\n\n# Testing\n\nAn ordinary exercise may have a large output for which the easy `// Output:`\nbecomes unreadable. In this case, output of reduced set of data to a file for which content\ncan be evaluated is more convenient. It is usable even without access to the original code.\n\nPiping `Stdout` to a file is easier. A helper to compare the file to a reference file.\nComparison is done using module [github.com/iwdgo/testingfiles](https://github.com/iwdgo/testingfiles) which\nreturns errors usable by the `testing` package.\n\nThe original code for piping output is from the commit history of `golang.go/src/testing/example.go` was using\nunexported routines. It is adapted to these cases.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiwdgo%2Flargeoutput","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiwdgo%2Flargeoutput","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiwdgo%2Flargeoutput/lists"}