Documentation ¶
Index ¶
- type GolangRunner
- func (r GolangRunner) DumpAST()
- func (r *GolangRunner) Ensure() error
- func (r GolangRunner) Finish() error
- func (r GolangRunner) IsRequired() bool
- func (r GolangRunner) ParseGoFile(filePath string) *pb.File
- func (r *GolangRunner) SearchModfile(path string) (*modfile.File, error)
- func (r *GolangRunner) SetConfiguration(configuration *Configuration.Configuration)
- func (r *GolangRunner) SetProgressbar(progressbar *pterm.SpinnerPrinter)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GolangRunner ¶
type GolangRunner struct {
// contains filtered or unexported fields
}
func (GolangRunner) DumpAST ¶
func (r GolangRunner) DumpAST()
DumpAST dumps the AST of Go files in protobuf format
func (*GolangRunner) Ensure ¶
func (r *GolangRunner) Ensure() error
Ensure ensures Go is ready to run.
func (GolangRunner) IsRequired ¶
func (r GolangRunner) IsRequired() bool
IsRequired returns true if at least one Go file is found
func (GolangRunner) ParseGoFile ¶ added in v0.15.0
func (r GolangRunner) ParseGoFile(filePath string) *pb.File
func (*GolangRunner) SearchModfile ¶ added in v0.15.0
func (r *GolangRunner) SearchModfile(path string) (*modfile.File, error)
func (*GolangRunner) SetConfiguration ¶
func (r *GolangRunner) SetConfiguration(configuration *Configuration.Configuration)
SetConfiguration sets the configuration
func (*GolangRunner) SetProgressbar ¶
func (r *GolangRunner) SetProgressbar(progressbar *pterm.SpinnerPrinter)
SetProgressbar sets the progressbar
Click to show internal directories.
Click to hide internal directories.