config

package
v1.0.0-beta Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultConfig  = ".hack.yaml"
	DefaultBaseDir = "contest"
)

Variables

This section is empty.

Functions

func AtCoderPass

func AtCoderPass() string

func AtCoderUser

func AtCoderUser() string

func BaseDir

func BaseDir() string

func CurrentContest

func CurrentContest() string

func CurrentContestID

func CurrentContestID() string

func CurrentContestPath

func CurrentContestPath() string

func CurrentHost

func CurrentHost() string

func Load

func Load(overwriteCfg string) error

func Save

func Save() error

func SetAtCoderPass

func SetAtCoderPass(pass string)

func SetAtCoderUser

func SetAtCoderUser(user string)

func SetBaseDir

func SetBaseDir(dir string)

func SetCurrent

func SetCurrent(c string)

func SetCurrentQuizPath

func SetCurrentQuizPath(quiz string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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