Registry / utility / x-exp-typeparams

x-exp-typeparams

JSON →
library0.0.0-20260611194520-c48552f49976gogounverified

Package typeparams provides utilities for working with generic Go code (Go 1.18+).

go get golang.org/x/exp/typeparams
INSTALL
IMPORT
SIG · X-EXP-TYPEPARAMS
X
x-exp-typeparams
utilitygov0.0.0-20260611194520-c48552f49976
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

typeparams
✓ golang.org/x/exp/typeparams

Check if type parameters (generics) are enabled in the current Go version

package main import ( "fmt" "golang.org/x/exp/typeparams" ) func main() { fmt.Println(typeparams.Enabled()) }
Debug
Known issues
gotchaThis package is part of golang.org/x/exp and may have no compatibility guarantees.
fix
Use with caution; consider using the standard library's go/types for stable APIs.
affects: *
Upgrade
Version history
0.0.0-20260611194520-c48552f49976latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
x-exp-typeparams — go get x-exp-typeparams · libregistry