package
0.31.0
Repository: https://go.googlesource.com/tools
Documentation: pkg.go.dev

# Functions

Enabled reports whether [NewAlias] should create [types.Alias] types.
NewAlias creates a new TypeName in Package pkg that is an alias for the type rhs.
Origin returns the generic Alias type of which alias is an instance.
Rhs returns the type on the right-hand side of the alias declaration.
SetTypeParams sets the type parameters of the alias type.
TypeArgs returns the type arguments used to instantiate the Alias type.
TypeParams returns the type parameter list of the alias.