Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileParser ¶
type FileParser struct { PackageName string // contains filtered or unexported fields }
func NewFileParser ¶
func NewFileParser(filename string) *FileParser
func (*FileParser) GetInterfaceList ¶
func (f *FileParser) GetInterfaceList() []*InterfaceSpec
func (*FileParser) Parse ¶
func (f *FileParser) Parse() error
type FuncSpec ¶
type ImportSpec ¶
type ImportSpec struct {
// contains filtered or unexported fields
}
func (*ImportSpec) GetName ¶
func (i *ImportSpec) GetName() string
func (*ImportSpec) GetPath ¶
func (i *ImportSpec) GetPath() string
type InterfaceSpec ¶
type InterfaceSpec struct { PackageName string Name string FuncList []*FuncSpec ImportList map[string]*ImportSpec // contains filtered or unexported fields }
func (*InterfaceSpec) Parse ¶
func (i *InterfaceSpec) Parse() error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.