Documentation
¶
Index ¶
Constants ¶
View Source
const ( EnvLocal = "local" EnvDev = "dev" EnvStaging = "staging" EnvProd = "prod" )
Possible environments
Variables ¶
View Source
var ENV string
Functions ¶
func FrontendAddr ¶
func FrontendAddr() string
func LanguageKey ¶
LanguageKey takes a language and version and crafts a lanugage key
Types ¶
type JdoodleLang ¶
func GetLanguage ¶
func GetLanguage(lang, version string) *JdoodleLang
GetLanguage gets an active language using the language and version. If no language exists, nil will be returned
type Languages ¶
type Languages map[string]JdoodleLang
Click to show internal directories.
Click to hide internal directories.