Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct {
ID string
Type string
Status string
Errors []error
Results map[string]interface{}
// contains filtered or unexported fields
}
Common struct for all actions
func (*Action) CanExecute ¶
func (*Action) GetResults ¶
type IAction ¶
type IAction interface {
GetType() string
Execute() error
Cancel() error
CanExecute() bool
IsRunning() bool
}
Base interface for all actions
type TypeCheckAction ¶
type TypeCheckAction struct {
Action // Embedding the base action
Config types.IConfig
ParsedFiles map[string][]*ast.File
FileSet *token.FileSet
ErrorChannel chan error
}
TypeCheckAction defines a type-checking action
func NewTypeCheckAction ¶
NewTypeCheckAction creates a new type-checking action
func (*TypeCheckAction) Execute ¶
func (tca *TypeCheckAction) Execute() error
Execute runs the type-checking process
Click to show internal directories.
Click to hide internal directories.