Golang

package
v0.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

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) Finish

func (r GolangRunner) Finish() error

Finish cleans up the workspace

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL