{"id":19666669,"url":"https://github.com/xaionaro-go/hackery","last_synced_at":"2026-03-16T23:31:14.151Z","repository":{"id":71636417,"uuid":"176547719","full_name":"xaionaro-go/hackery","owner":"xaionaro-go","description":"About builtin Golang magic comments","archived":false,"fork":false,"pushed_at":"2020-01-25T16:48:36.000Z","size":1,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T22:32:12.042Z","etag":null,"topics":["comment","go","golang","internals","magic"],"latest_commit_sha":null,"homepage":"","language":null,"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/xaionaro-go.png","metadata":{"files":{"readme":"README.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-19T15:50:08.000Z","updated_at":"2024-08-21T20:22:27.000Z","dependencies_parsed_at":"2023-05-13T03:00:26.032Z","dependency_job_id":null,"html_url":"https://github.com/xaionaro-go/hackery","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/xaionaro-go%2Fhackery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xaionaro-go%2Fhackery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xaionaro-go%2Fhackery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xaionaro-go%2Fhackery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xaionaro-go","download_url":"https://codeload.github.com/xaionaro-go/hackery/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252535624,"owners_count":21763979,"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":["comment","go","golang","internals","magic"],"created_at":"2024-11-11T16:28:29.347Z","updated_at":"2026-03-16T23:31:14.123Z","avatar_url":"https://github.com/xaionaro-go.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Magic comments\n\n* [`//go:generate`](https://golang.org/pkg/cmd/go/internal/generate/)\n* [`//go:linkname`](https://sitano.github.io/2016/04/28/golang-private/)\n* [`//go:noescape`](https://dave.cheney.net/2018/01/08/gos-hidden-pragmas)\n* [`//go:noinline`](https://dave.cheney.net/2018/01/08/gos-hidden-pragmas)\n* [`//go:nosplit`](https://dave.cheney.net/2018/01/08/gos-hidden-pragmas)\n* [`//go:norace`](https://dave.cheney.net/2018/01/08/gos-hidden-pragmas)\n* [`//line`](https://dave.cheney.net/2018/01/08/gos-hidden-pragmas)\n* [`// import`](https://dave.cheney.net/2018/01/08/gos-hidden-pragmas)\n* [`//go:systemstack`](https://github.com/golang/go/blob/master/src/runtime/HACKING.md)\n* [`//go:nowritebarrierrec`](https://github.com/golang/go/blob/master/src/runtime/HACKING.md)\n* [`//go:yeswritebarrierrec`](https://github.com/golang/go/blob/master/src/runtime/HACKING.md)\n* [`//go:notinheap`](https://github.com/golang/go/blob/master/src/runtime/HACKING.md)\n\n# Hidden (but useful) functions\n\nTo use this functions you need to use `//go:linkname`.\n\n* [`notewakeup`](https://lk4d4.darth.io/posts/go-timers/)\n* [`getg`](https://github.com/golang/go/issues/18590)\n\n# Guides\n\n* [Reduce the size of a binary](https://github.com/xaionaro/documentation/blob/master/golang/reduce-binary-size.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxaionaro-go%2Fhackery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxaionaro-go%2Fhackery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxaionaro-go%2Fhackery/lists"}