Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Field ¶
type MarkerValue ¶
func (MarkerValue) String ¶
func (mv MarkerValue) String() string
type NamedStruct ¶
type NamedStruct struct { File string Name string Named *types.Named *types.Struct Fields []*Field Markers map[Marker]MarkerValue Interfaces map[Marker]bool }
func (*NamedStruct) FindField ¶
func (n *NamedStruct) FindField(tm TypeMarker) *Field
func (*NamedStruct) Is ¶
func (n *NamedStruct) Is(m Marker) bool
type Package ¶
type Package struct { *packages.Package NamedStructs []*NamedStruct TypeMarkers []TypeMarker }
Click to show internal directories.
Click to hide internal directories.