Documentation ¶ Index ¶ type Import type Registry func NewRegistry(pkg *packages.Package) *Registry func (r *Registry) Imports() []*Type func (r *Registry) Resolve(fieldType types.Type) (pointer string, unwrappedType string, _ error) type Type func (t *Type) UniqueValue() any Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Import ¶ type Import struct { Alias *string Path string } type Registry ¶ type Registry struct { // contains filtered or unexported fields } func NewRegistry ¶ func NewRegistry(pkg *packages.Package) *Registry func (*Registry) Imports ¶ func (r *Registry) Imports() []*Type func (*Registry) Resolve ¶ func (r *Registry) Resolve(fieldType types.Type) (pointer string, unwrappedType string, _ error) type Type ¶ type Type struct { Alias *string Name string Path string } func (*Type) UniqueValue ¶ func (t *Type) UniqueValue() any Source Files ¶ View all Source files import.go registry.go type.go Click to show internal directories. Click to hide internal directories.