files

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const CONF_NAME = ".task.toml"
View Source
const TESTDATA_NAME = "testdata.yaml"

Variables

This section is empty.

Functions

func LoadTestData

func LoadTestData(dir string) ([]*atcoder.Example, error)

func WriteConf

func WriteConf(dir string, conf *Conf) error

func WriteTestData

func WriteTestData(dir string, examples []*atcoder.Example) error

Types

type AtCoder

type AtCoder struct {
	TaskID     string
	TaskName   string
	TaskURL    string
	ContestID  string
	ContestURL string
}

type Conf

type Conf struct {
	Environment *environment.Environment
	AtCoder     *AtCoder
}

func LoadConf

func LoadConf(dir string) (*Conf, error)

Jump to

Keyboard shortcuts

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