Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoFile ¶
type GoFile struct { // path to file that was read FilePath string // name of package PackageName string // full file contents Body string // all funcs in file Fns []pkgpart.PkgPart // var and const declarations Vars []pkgpart.PkgPart // all imports used in file Imports []impt.Impt // all things declared with "type" TypeSpecs []pkgpart.PkgPart // comments that aren't docstrings LooseComments []string // abstract syntax tree for the package Ast *ast.File `json:"-"` }
Click to show internal directories.
Click to hide internal directories.