{"id":13714129,"url":"https://github.com/Mapana/gocover-cui","last_synced_at":"2025-05-07T01:32:24.712Z","repository":{"id":57485486,"uuid":"145978480","full_name":"Mapana/gocover-cui","owner":"Mapana","description":"Imitation go tool cover -html for display terminal","archived":false,"fork":false,"pushed_at":"2018-09-05T03:49:39.000Z","size":5130,"stargazers_count":14,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-14T01:33:14.349Z","etag":null,"topics":["cover","coverui","go","gocover","golang"],"latest_commit_sha":null,"homepage":null,"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/Mapana.png","metadata":{"files":{"readme":"README-ZH.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}},"created_at":"2018-08-24T10:32:51.000Z","updated_at":"2021-12-04T10:23:53.000Z","dependencies_parsed_at":"2022-09-01T23:11:12.560Z","dependency_job_id":null,"html_url":"https://github.com/Mapana/gocover-cui","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/Mapana%2Fgocover-cui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mapana%2Fgocover-cui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mapana%2Fgocover-cui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mapana%2Fgocover-cui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mapana","download_url":"https://codeload.github.com/Mapana/gocover-cui/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252795932,"owners_count":21805467,"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":["cover","coverui","go","gocover","golang"],"created_at":"2024-08-02T23:01:52.906Z","updated_at":"2025-05-07T01:32:24.245Z","avatar_url":"https://github.com/Mapana.png","language":"Go","funding_links":[],"categories":["Repositories"],"sub_categories":[],"readme":"# gocover-cui\n\n参考`go tool cover -html=c.out -o coverage.html `将结果显示在终端\n```\ngocover-cui -cui c.out\n```\n\n## 须知\n**终端主题或bash颜色将影响最终的`gocover-cui`显示颜色**\n\n## 安装\n#### go get\n``` bash\ngo get github.com/Mapana/gocover-cui\n```\n\n#### git\n``` bash\ngit clone https://github.com/Mapana/gocover-cui.git\ncd gocover-cui\ngo install\n```\n\n## 按键帮助\n这里提供了分支和手册\n- [branch](https://github.com/Mapana/gocover-cui/tree/key-help)\n- [manuals](https://github.com/Mapana/gocover-cui/wiki)\n\n## 示例\n``` bash\ncd $GOPATH/src/github.com/Mapana/gocover-cui\ngocover-cui -cui=example/example_ls.out -log=example/example_ls.log # 可以单独运行 -cui 或 -log\ngocover-cui -cui=example/example_hs.out -log=example/example_hs.log\n```\n\n#### 当焦点处于`Cover Files`\n![image](https://github.com/Mapana/public/blob/master/gocover-cui-1.png)\n\n#### 展开`Cover Files`选项\n![image](https://github.com/Mapana/public/blob/master/gocover-cui-2.png)\n\n#### 当焦点处于`Data View`\n![image](https://github.com/Mapana/public/blob/master/gocover-cui-3.png)\n\n## 计划\n- [x] 支持log显示\n- [x] 增加按键帮助","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMapana%2Fgocover-cui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMapana%2Fgocover-cui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMapana%2Fgocover-cui/lists"}