{"id":34193858,"url":"https://github.com/ysqi/gcodesharp","last_synced_at":"2026-03-11T07:02:21.473Z","repository":{"id":57599347,"uuid":"105962491","full_name":"ysqi/gcodesharp","owner":"ysqi","description":"go code review tool","archived":false,"fork":false,"pushed_at":"2017-12-08T07:11:13.000Z","size":78,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T15:46:47.149Z","etag":null,"topics":["codereview","go-tools","gofmt","golang","gotest"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ysqi.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}},"created_at":"2017-10-06T03:02:56.000Z","updated_at":"2024-06-20T15:46:47.151Z","dependencies_parsed_at":"2022-08-28T20:40:35.428Z","dependency_job_id":null,"html_url":"https://github.com/ysqi/gcodesharp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ysqi/gcodesharp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysqi%2Fgcodesharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysqi%2Fgcodesharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysqi%2Fgcodesharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysqi%2Fgcodesharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ysqi","download_url":"https://codeload.github.com/ysqi/gcodesharp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysqi%2Fgcodesharp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30373509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-11T06:09:32.197Z","status":"ssl_error","status_checked_at":"2026-03-11T06:09:17.086Z","response_time":84,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["codereview","go-tools","gofmt","golang","gotest"],"created_at":"2025-12-15T16:49:47.770Z","updated_at":"2026-03-11T07:02:21.461Z","avatar_url":"https://github.com/ysqi.png","language":"Go","readme":"# GCodeSharp\n\n![](https://api.travis-ci.org/ysqi/gcodesharp.svg?branch=master)\n\nGCodeSharp is a CLI library for Go language code review applications.\nThis application is a tool to generate the report to quickly review the golang code.\n\n# Install\n```shell\ngo get -u github.com/ysqi/gcodesharp\n```\n\n# TODO\n\n- [x] support go test\n- [x] support go test result report to junit\n- [ ] support go vet\n- [x] support go fmt\n- [x] support golint\n- [ ] create a html report contain all thing\n\n# Get Help\nyou need run application with args `-h`(-help) to get help.\n```text \nUsage:\n  gcodesharp [flags]\n\nFlags:\n  -h, --help               help for gcodesharp\n  -j, --junit string       save report as junit xml file\n  -t, --tool stringArray   specify which tool to exec (default [gtest,gfmt,glint])\n```\nyou can add issue to ask me.\n\n# Easy Start \nrun check for current and each child dictionary, and save reporter to junit.xml file.\n```shell\ngcodesharp -j=junit.xml  ./...\n```\n\n# Get Junit Report\n\ngcodesharp support more one golang project package path . default is current dir if not set.\n\n```shell\ngcodesharp --junit=$HOME/tmp/myjunit.xml github.com/ysqi/gcodesharp github.com/ysqi/com\n```\nthis command will run go test for current dir and all child dir. Is actually equivalent to the following command:\n```shell\ngo test -cover -timeout 30s -v github.com/ysqi/gcodesharp... github.com/ysqi/com...\ngofmt -d -e  [all go files of $GOPATH/src/github.com/ysqi/gcodesharp]\n```\n`github.com/ysqi/gcodesharp...` mean contains import path prefixed with `github.com/ysqi/gcodesharp`.\n\n**Note**: gofmt result as a part of go test. and the result will write to junit file as a testsuite, such like this:\n```xml\n\u003ctestsuite tests=\"226\" failures=\"0\" errors=\"0\" time=\"2.4243922\" name=\"/usr/local/go/bin/gofmt\" timestamp=\"2017-10-08T23:39:45\"\u003e\n\t\u003cproperties\u003e\n\t\t\u003cproperty name=\"go.version\" value=\"go1.8\"\u003e\u003c/property\u003e\n\t\t\u003cproperty name=\"os\" value=\"darwin\"\u003e\u003c/property\u003e\n\t\t\u003cproperty name=\"arch\" value=\"amd64\"\u003e\u003c/property\u003e\n\t\u003c/properties\u003e\n\t\u003ctestcase classname=\"gofmt\" name=\"gfmt/gfmt.go\" time=\"0\"\u003e\u003c/testcase\u003e\n\t...\n\u003ctestsuite\u003e\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fysqi%2Fgcodesharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fysqi%2Fgcodesharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fysqi%2Fgcodesharp/lists"}