Documentation ¶
Index ¶
- Constants
- func AtCoderPass() string
- func AtCoderUser() string
- func BaseDir() string
- func CurrentContest() string
- func CurrentContestID() string
- func CurrentContestPath() string
- func CurrentHost() string
- func Load(overwriteCfg string) error
- func Save() error
- func SetAtCoderPass(pass string)
- func SetAtCoderUser(user string)
- func SetBaseDir(dir string)
- func SetCurrent(c string)
- func SetCurrentQuizPath(quiz string) string
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 CurrentContest ¶
func CurrentContest() string
func CurrentContestID ¶
func CurrentContestID() string
func CurrentContestPath ¶
func CurrentContestPath() string
func CurrentHost ¶
func CurrentHost() string
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 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.