Documentation ¶
Index ¶
- Variables
- func EnsurePath(path string) (string, error)
- func Exists(path string) (bool, error)
- func FormalLanguage(l string) (string, error)
- func HomeDir() string
- func LoadData(path string, data interface{}) error
- func ReadFile(path string) (string, error)
- func RemoveContents(dirname string) error
- func RemoveData(path string) error
- func SaveData(path string, data interface{}) error
- func TimeFromUnix(timestamp int64) time.Time
- type ApiError
- type ApiErrors
- type CodeRunner
- type Language
Constants ¶
This section is empty.
Variables ¶
View Source
var CacheDir = filepath.Join(HomeDir(), ".cache", "aojtool")
Functions ¶
func EnsurePath ¶
func FormalLanguage ¶
func RemoveContents ¶
func RemoveData ¶
func TimeFromUnix ¶
Types ¶
type ApiError ¶
type CodeRunner ¶
type CodeRunner struct {
// contains filtered or unexported fields
}
func NewCodeRunner ¶
func NewCodeRunner(file string, timeout time.Duration) (*CodeRunner, error)
Click to show internal directories.
Click to hide internal directories.