Documentation ¶ Index ¶ type Config func (c *Config) Validate() error type Task func (t *Task) BuildCode(verbose bool) error func (t *Task) ExecCode(input string, verbose bool) (result, error) type TestCase func (tc *TestCase) Compare(result string) bool Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { RunCmd string BuildCmd string Lang string FileName string Template string } func (*Config) Validate ¶ func (c *Config) Validate() error type Task ¶ type Task struct { RunCmd string BuildCmd string // contains filtered or unexported fields } func (*Task) BuildCode ¶ func (t *Task) BuildCode(verbose bool) error func (*Task) ExecCode ¶ func (t *Task) ExecCode(input string, verbose bool) (result, error) type TestCase ¶ type TestCase struct { In string Expected string } func (*TestCase) Compare ¶ func (tc *TestCase) Compare(result string) bool Source Files ¶ View all Source files config.go task.go test_case.go Click to show internal directories. Click to hide internal directories.