{"id":50930,"library":"x-exp-typeparams","title":"golang.org/x/exp/typeparams","description":"Package typeparams provides utilities for working with generic Go code (Go 1.18+).","status":"active","version":"0.0.0-20260611194520-c48552f49976","language":"go","source_language":null,"source_url":"https://cs.opensource.google/go/x/exp","tags":["generics","type-parameters","go-experimental","tools"],"install":[{"cmd":"go get golang.org/x/exp/typeparams","lang":"bash","label":"Install golang.org/x/exp/typeparams"}],"dependencies":[],"imports":[{"symbol":"typeparams","correct":"golang.org/x/exp/typeparams"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"golang.org/x/exp/typeparams\"\n)\n\nfunc main() {\n\tfmt.Println(typeparams.Enabled())\n}","lang":"go","description":"Check if type parameters (generics) are enabled in the current Go version"},"warnings":[{"fix":"Use with caution; consider using the standard library's go/types for stable APIs.","message":"This package is part of golang.org/x/exp and may have no compatibility guarantees.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'/x/exp/typeparams':3 '1.18':15 'code':13 'experiment':22 'generic':11,16 'go':12,14,21 'go-experiment':20 'golang.org':2 'golang.org/x/exp/typeparams':1 'packag':4 'paramet':19 'provid':6 'tool':23 'type':18 'type-paramet':17 'typeparam':5 'util':7 'work':9","created_at":"2026-06-15T05:14:10.621892+00:00","updated_at":"2026-06-15T05:14:10.621892+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://cs.opensource.google/go/x/exp","github":null,"docs":"https://pkg.go.dev/golang.org/x/exp/typeparams#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}