{"id":17322407,"url":"https://github.com/jenting/pre-commit-go","last_synced_at":"2026-05-04T11:39:12.586Z","repository":{"id":129093652,"uuid":"224801877","full_name":"jenting/pre-commit-go","owner":"jenting","description":"Go hooks for pre-commit","archived":false,"fork":false,"pushed_at":"2020-03-06T07:39:20.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-11T00:31:31.159Z","etag":null,"topics":["git","go","golang","hooks","pre-commit","pre-commit-hook"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jenting.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-11-29T07:39:39.000Z","updated_at":"2025-02-13T23:44:19.000Z","dependencies_parsed_at":"2023-07-26T12:32:09.340Z","dependency_job_id":null,"html_url":"https://github.com/jenting/pre-commit-go","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/jenting/pre-commit-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenting%2Fpre-commit-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenting%2Fpre-commit-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenting%2Fpre-commit-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenting%2Fpre-commit-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jenting","download_url":"https://codeload.github.com/jenting/pre-commit-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenting%2Fpre-commit-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274447618,"owners_count":25287114,"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-09-10T02:00:12.551Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["git","go","golang","hooks","pre-commit","pre-commit-hook"],"created_at":"2024-10-15T13:42:00.724Z","updated_at":"2026-05-04T11:39:07.564Z","avatar_url":"https://github.com/jenting.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go hooks for pre-commit\n\n[Go](https://golang.org) hooks for [pre-commit](http://pre-commit.com).\n\n## Using go hooks with pre-commit\n\nAt your repository, add the following to the file `.pre-commit-config.yaml`:\n```yaml\n-   repo: https://github.com/jenting/pre-commit-go\n    rev: v1.0.2\n    hooks:\n    -   id: go-fmt\n    -   id: go-vet\n    -   id: go-imports\n    -   id: go-mod\n```\n\nExample output:\n![Demo](assets/demo.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjenting%2Fpre-commit-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjenting%2Fpre-commit-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjenting%2Fpre-commit-go/lists"}