core

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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