Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEmptyFile = errors.New("file is empty")
ErrEmptyFile represents an empty file error.
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result struct { // Source code of a Go file SourceCode []byte // The package name of a Go file. Header *Header // All the enums in a Go file. Enums []Enum // All the functions and methods in a Go file. Funcs []Function // All the variables in a Go file. Vars []Variable }
Result representats a parsed Go file.
Click to show internal directories.
Click to hide internal directories.