Documentation ¶
Index ¶
- func CleanSession(gopath, lgopath string, sessID *SessionID) error
- func PrintError(w io.Writer, err error)
- type LgoRunner
- func (rn *LgoRunner) Complete(ctx context.Context, src string, index int) (matches []string, start, end int)
- func (rn *LgoRunner) ExecCount() int64
- func (rn *LgoRunner) Inspect(ctx context.Context, src string, index int) (string, error)
- func (rn *LgoRunner) Run(ctx core.LgoContext, src string) error
- type SessionID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanSession ¶
CleanSession cleans up files for a session specified by sessNum. CleanSession returns nil when no target file exists.
func PrintError ¶
PrintError prints err to w. If err is scanner.ErrorList or convert.ErrorList, it expands internal errors.
Types ¶
Click to show internal directories.
Click to hide internal directories.