config

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Contest added in v0.3.0

type Contest struct {
	Name string
	Url  string
}

type ContestConfig

type ContestConfig struct {
	// contains filtered or unexported fields
}

func NewContestConfig

func NewContestConfig() (*ContestConfig, error)

func (*ContestConfig) ReadConfig

func (cc *ContestConfig) ReadConfig() (*core.Config, error)

func (*ContestConfig) ReadContestSetting

func (cc *ContestConfig) ReadContestSetting() (*Contest, error)

func (*ContestConfig) ReadTaskSetting

func (cc *ContestConfig) ReadTaskSetting(displayID string) (*Task, error)

func (*ContestConfig) SetTaskID

func (cc *ContestConfig) SetTaskID(displayID string) error

FIXME: configの中にfetchがあるのは違和感がある

type Task added in v0.3.0

type Task struct {
	ID   string
	Path string
}

Jump to

Keyboard shortcuts

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