{"id":16125868,"url":"https://github.com/fordhurley/egdiff","last_synced_at":"2025-04-06T13:14:20.446Z","repository":{"id":145179415,"uuid":"171014214","full_name":"fordhurley/egdiff","owner":"fordhurley","description":"formatted diffs for failing go examples","archived":false,"fork":false,"pushed_at":"2019-03-21T14:22:47.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T19:02:05.890Z","etag":null,"topics":["golang","testing"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fordhurley.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-16T14:44:42.000Z","updated_at":"2019-03-21T14:22:49.000Z","dependencies_parsed_at":"2023-06-29T13:14:16.289Z","dependency_job_id":null,"html_url":"https://github.com/fordhurley/egdiff","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/fordhurley%2Fegdiff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fordhurley%2Fegdiff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fordhurley%2Fegdiff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fordhurley%2Fegdiff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fordhurley","download_url":"https://codeload.github.com/fordhurley/egdiff/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247485286,"owners_count":20946398,"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":["golang","testing"],"created_at":"2024-10-09T21:33:19.537Z","updated_at":"2025-04-06T13:14:20.427Z","avatar_url":"https://github.com/fordhurley.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"`egdiff` -- add formatted diffs for failing go examples\n\n\nTurn this:\n\n\n    $ go test -v ./...\n    === RUN   Example_replaceLineEndings\n    --- FAIL: Example_replaceLineEndings (0.00s)\n    got:\n    \"a\\n\\nb\\n\\nc\"\n    \"a\\nb\\nc\"\n    \"a\\nb\\nc\"\n    \"abc\"\n    want:\n    \"a\\n\\nb\\n\\nc\"\n    \"a\\nb/nc\"\n    \"a\\nb\\nc\"\n    \"abc\"\n    FAIL\n\nInto this:\n\n    $ go test -v ./... | egdiff\n    === RUN   Example_replaceLineEndings\n    --- FAIL: Example_replaceLineEndings (0.00s)\n    got:\n    \"a\\n\\nb\\n\\nc\"\n    \"a\\nb\\nc\"\n    \"a\\nb\\nc\"\n    \"abc\"\n    want:\n    \"a\\n\\nb\\n\\nc\"\n    \"a\\nb/nc\"\n    \"a\\nb\\nc\"\n    \"abc\"\n    --- Want\n    +++ Got\n    @@ -1,4 +1,4 @@\n    \"a\\n\\nb\\n\\nc\"\n    -\"a\\nb/nc\"\n    +\"a\\nb\\nc\"\n    \"a\\nb\\nc\"\n    \"abc\"\n    FAIL\n\n\nInstall\n\n    go get -u github.com/fordhurley/egdiff\n\n\nPipe *verbose* test output to it:\n\n    go test -v . | egdiff\n\n**TODO:** don't require verbose flag\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffordhurley%2Fegdiff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffordhurley%2Fegdiff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffordhurley%2Fegdiff/lists"}