{"id":13691776,"url":"https://github.com/unknwon/go-code-convention","last_synced_at":"2025-08-21T19:21:30.067Z","repository":{"id":17095254,"uuid":"19860581","full_name":"unknwon/go-code-convention","owner":"unknwon","description":"@unknwon's opinionated and paranoid Go code convention.","archived":false,"fork":false,"pushed_at":"2021-05-19T07:35:33.000Z","size":70,"stargazers_count":350,"open_issues_count":0,"forks_count":73,"subscribers_count":17,"default_branch":"main","last_synced_at":"2025-03-30T19:11:28.499Z","etag":null,"topics":["code-conventions","coding-guidelines","go"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":false,"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/unknwon.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":"2014-05-16T15:05:20.000Z","updated_at":"2025-03-29T08:07:51.000Z","dependencies_parsed_at":"2022-08-26T06:25:36.596Z","dependency_job_id":null,"html_url":"https://github.com/unknwon/go-code-convention","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/unknwon%2Fgo-code-convention","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unknwon%2Fgo-code-convention/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unknwon%2Fgo-code-convention/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unknwon%2Fgo-code-convention/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unknwon","download_url":"https://codeload.github.com/unknwon/go-code-convention/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247557767,"owners_count":20958047,"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":["code-conventions","coding-guidelines","go"],"created_at":"2024-08-02T17:00:50.332Z","updated_at":"2025-04-06T22:06:54.919Z","avatar_url":"https://github.com/unknwon.png","language":null,"funding_links":[],"categories":["指南","Guide"],"sub_categories":["组织","To Organize"],"readme":"# Go Code Convention\n\nThis is a 100% opinionated and paranoid code convention for the Go Programming Language by [@unknwon](https://github.com/unknwon). It may or may not be compatible with [Go Code Review Comments](https://github.com/golang/go/wiki/CodeReviewComments), or any other guidelines out there. That's fine, that is neither mine nor your problem.\n\n![](https://imgs.xkcd.com/comics/standards.png)\n\nBe sure to always remember, \"尽信书不如无书\".\n\nFor non-Chinese readers, [what does 尽信书不如无书 mean?](https://chinese.stackexchange.com/a/26717)\n\n\u003cbr\u003e\n\nReady? OK, pick one you like:\n\n- [English](en-US.md)\n\n- [简体中文](zh-CN/README.md) _Stay tuned!_\n\n## Roadmap for current version\n\n- [x] Overhaul exsiting content for en-US\n- [ ] Add more pages about:\n  - [x] Linting\n  - [ ] Database layer construction and testing\n  - [ ] Error wrapping\n  - [ ] Dependency injection\n  - [ ] TBD\n- [ ] Re-translated everything from en-US to zh-CN\n\n## Notes about v1\n\nThe [v1](https://github.com/unknwon/go-code-convention/tree/v1) was originally drafted back in 2015, and majority of the content hasn't been updated since. As of 2021, after another 6 years working with Go, some of aspects already feel outdated for me, especially I've learned more practices by working with amazing people. I would love to have these practices documented so I can reference back.\n\n## License\n\nThis project is under the Unlicense License. See the [LICENSE](LICENSE) file for the full license text.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funknwon%2Fgo-code-convention","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funknwon%2Fgo-code-convention","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funknwon%2Fgo-code-convention/lists"}