i18n

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitI18n

func InitI18n() error

Types

type Config

type Config struct {
	QuestionProcess QuestionProcess `json:"question_process"`
	ContestRanking  ContestRanking  `json:"contest_ranking"`
}

func Get

func Get(name string) *Config

type ContestRanking

type ContestRanking struct {
	KeyDetail        string `json:"key_detail"`
	KeyBeats         string `json:"key_beats"`
	KeyScore         string `json:"key_score"`
	KeyGlobalRanking string `json:"key_global_ranking"`
	KeyLocalRanking  string `json:"key_local_ranking"`
}

type QuestionProcess

type QuestionProcess struct {
	KeyDetail string `json:"key_detail"`
	KeyEasy   string `json:"key_easy"`
	KeyMedium string `json:"key_medium"`
	KeyHard   string `json:"key_hard"`
	KeySolved string `json:"key_solved"`
}

Jump to

Keyboard shortcuts

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