Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompiledExec ¶
CompiledExec defines compiled executable
type File ¶
type File interface { Opener ReaderOpener Content() ([]byte, error) Name() string }
File defines file name with its content file could on file system or memory
func NewLocalFile ¶
NewLocalFile creates a wrapper to file system by path
func NewMemFile ¶
NewMemFile create a file interface from content and content should not be modified afterwards
type ReaderOpener ¶ added in v0.6.2
type ReaderOpener interface {
Reader() (io.ReadCloser, error)
}
ReaderOpener creates readCloser for caller
type SourceCode ¶
SourceCode defines source code with its language
Click to show internal directories.
Click to hide internal directories.