Documentation
¶
Overview ¶
Package source contains functions for parsing Go source files.
This package is used for extract information about structures and their fields from Go source files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FieldInfo ¶
type FieldInfo struct {
// Field type name.
Type string
// Equals true if field is a pointer.
IsPointer bool
}
FieldInfo contains information about one structure field without field name.
type Structure ¶
Structure is a set of fields of one structure.
type StructureList ¶
StructureList is a list of parsed structures.
Click to show internal directories.
Click to hide internal directories.