Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Package ¶ added in v0.0.17
type Package struct {
// Package name taken from first file
Name string
// path that was passed as argument
FilePath string
// either all go files in dir passed or single length if file passed
Files []gofile.GoFile
// all imports used in package
Imports []impt.Impt
// all funcs in package
Fns []pkgpart.PkgPart
// all var and const declarations in package
Vars []pkgpart.PkgPart
// all things declared with "type" in package
TypeSpecs []pkgpart.PkgPart
}
func NewPackage ¶ added in v0.0.17
func (Package) GetOutputDir ¶ added in v0.0.17
func (Package) WriteComments ¶ added in v0.0.30
func (Package) WriteOutput ¶ added in v0.0.17
Source Files
¶
Click to show internal directories.
Click to hide internal directories.