{"id":28763768,"url":"https://github.com/cockroachdb/go-plus","last_synced_at":"2025-08-11T22:35:45.474Z","repository":{"id":57598024,"uuid":"378952242","full_name":"cockroachdb/go-plus","owner":"cockroachdb","description":"API library for CRL's custom Go extensions","archived":false,"fork":false,"pushed_at":"2021-06-28T14:09:33.000Z","size":21,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":45,"default_branch":"main","last_synced_at":"2025-08-09T11:59:59.552Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cockroachdb.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":"2021-06-21T14:07:46.000Z","updated_at":"2024-08-19T18:12:52.000Z","dependencies_parsed_at":"2022-09-16T09:40:20.233Z","dependency_job_id":null,"html_url":"https://github.com/cockroachdb/go-plus","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cockroachdb/go-plus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cockroachdb%2Fgo-plus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cockroachdb%2Fgo-plus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cockroachdb%2Fgo-plus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cockroachdb%2Fgo-plus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cockroachdb","download_url":"https://codeload.github.com/cockroachdb/go-plus/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cockroachdb%2Fgo-plus/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269969219,"owners_count":24505426,"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-08-11T02:00:10.019Z","response_time":75,"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":[],"created_at":"2025-06-17T09:10:27.864Z","updated_at":"2025-08-11T22:35:45.453Z","avatar_url":"https://github.com/cockroachdb.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-plus\n\n**go-plus** (Go+) is an API library that exposes **CRL's custom Go\nextensions** to Go programs.\n\nThe following two extensions are provided:\n\n- **proc** provides Go programs with finer grain control over the\n  Go runtime system. This makes it possible to build more \"advanced\"\n  concurrency data structures such as a custom `sync.Pool` implementation.\n\n  It also provides a new runtime feature called \"Inheritable Goroutine\n  ID\" (IGID).\n\n  API doc link: https://pkg.go.dev/github.com/cockroachdb/go-plus/proc\n\n- **taskgroup** provides Go program with a new runtime abstraction called\n  “task group” (discussed [here](https://github.com/cockroachdb/cockroach/pull/60589)),\n  to provide aggregate accounting of resource usage to fleets of related\n  goroutines.\n\n  API doc link: https://pkg.go.dev/github.com/cockroachdb/go-plus/taskgroup\n\n## How to use in Go programs\n\nWhen using this library with a “vanilla” Go runtime, the `Supported()`\nAPI calls in each package return `false`, to indicate the extension is\nnot available.\n\nThis makes it possible to build Go programs using this API\neven with a “vanilla” Go compiler and runtime.\n\nTo actually enable the extension:\n\n1. clone the repository at https://github.com/cockroachdb/go\n2. check out the `crdb-fixes` branch\n3. build the runtime: `bash src/make.bash`\n4. build the Go application with:\n   - `GOROOT` set to the custom go source tree\n   - `PATH` including `$GOROOT/bin` at the start\n\nNote: the way this works is that the customized go runtime implicitly\nprovides an extra build tag `goplus`. One can check whether the custom\nruntime is active with e.g. `go test -v ./proc` inside the library\n(the provided `TestSupported` reports the build tags and support\nstatus).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcockroachdb%2Fgo-plus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcockroachdb%2Fgo-plus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcockroachdb%2Fgo-plus/lists"}