Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileLoader ¶
type FileLoader struct {
// contains filtered or unexported fields
}
func NewFileLoader ¶
func NewFileLoader( path string, log logr.Logger, typeFilters *typefilter.List, ) *FileLoader
func (*FileLoader) Declarations ¶
func (loader *FileLoader) Declarations() []model.Declaration
func (*FileLoader) Load ¶
func (loader *FileLoader) Load() error
func (*FileLoader) PackageMarkers ¶
func (loader *FileLoader) PackageMarkers() *model.PackageMarkers
type PackageLoader ¶
type PackageLoader struct {
// contains filtered or unexported fields
}
func (*PackageLoader) LoadDirectory ¶
func (loader *PackageLoader) LoadDirectory(folder string) (*model.Package, error)
LoadDirectory scans a directory for Go files and loads them into a Package. folder is the full path to the directory to load.
Click to show internal directories.
Click to hide internal directories.