config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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() (*internal.Contest, error)

func (*ContestConfig) ReadTaskSetting

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

func (*ContestConfig) SetTaskID

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

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

Jump to

Keyboard shortcuts

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