{"id":20082142,"url":"https://github.com/exercism/go-analyzer","last_synced_at":"2025-05-06T00:31:38.355Z","repository":{"id":34403643,"uuid":"176143788","full_name":"exercism/go-analyzer","owner":"exercism","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-05T07:06:26.000Z","size":243,"stargazers_count":10,"open_issues_count":8,"forks_count":12,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-04-29T06:34:48.856Z","etag":null,"topics":["community-contributions-paused","exercism-analyzer","exercism-tooling","maintained-autonomous"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/exercism.png","metadata":{"funding":{"github":["exercism"],"custom":["https://exercism.org/donate"]},"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-03-17T18:35:47.000Z","updated_at":"2024-09-05T07:06:30.000Z","dependencies_parsed_at":"2025-04-21T10:46:07.724Z","dependency_job_id":null,"html_url":"https://github.com/exercism/go-analyzer","commit_stats":{"total_commits":96,"total_committers":8,"mean_commits":12.0,"dds":"0.23958333333333337","last_synced_commit":"bd11b59acfb18c9692109cf0db43ff375fee524d"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exercism%2Fgo-analyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exercism%2Fgo-analyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exercism%2Fgo-analyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exercism%2Fgo-analyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/exercism","download_url":"https://codeload.github.com/exercism/go-analyzer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252598368,"owners_count":21774244,"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":["community-contributions-paused","exercism-analyzer","exercism-tooling","maintained-autonomous"],"created_at":"2024-11-13T15:42:06.874Z","updated_at":"2025-05-06T00:31:37.804Z","avatar_url":"https://github.com/exercism.png","language":"Go","funding_links":["https://github.com/sponsors/exercism","https://exercism.org/donate"],"categories":[],"sub_categories":[],"readme":"# Exercism's Go Analyzer\n\nThis is Exercism's automated analyzer for the Go track.\n\n## Executing the Analyzer\n\nThe analyser takes two parameters:\n- the exercise `slug`, e.g. `two-fer`\n- the `path` to the solution to analize\n\nExample to execute with binary:\n\n```bash\nanalyze two-fer ~/solution-238382y7sds7fsadfasj23j/\n```\n\nFrom source with Go installed:\n\n```bash\ngo run ./main.go two-fer ~/solution-238382y7sds7fsadfasj23j/\n```\n\n## Build Executable\n\nThis will create an executable called `analyze`.\n\n```bash\ngo generate .\ngo build -tags build -o analyze .\n```\n\n`go generate` is called before the build to incorporate all necessary files within the binary.\n\n## Docker\n\nTo `build` execute the following from the repositories `root` directory:\n\n```bash\ndocker build -t exercism/go-analyzer .\n```\n\nTo `run` from docker pass in the solutions path as a volume and execute with the necessary parameters:\n\n```bash\ndocker run -v $(PATH_TO_SOLUTION):/solution exercism/go-analyzer ${SLUG} /solution\n```\n\nExample:\n\n```bash\ndocker run -v ~/solution-238382y7sds7fsadfasj23j:/solution exercism/go-analyzer two-fer /solution\n```\n\n\n## Stats\n\n### Twofer\n\nOut of 500 real world solutions we get:\n\n```\napprove           34\ndisapprove        463\nrefer_to_mentor   3\nejected (failed)  0\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexercism%2Fgo-analyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexercism%2Fgo-analyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexercism%2Fgo-analyzer/lists"}