tartrazine/internal/code-generator/assets/alias.go.tmpl

10 lines
370 B
Cheetah
Raw Normal View History

package data
// LanguagesByAlias keeps alias for different languages and use the name of the languages as an alias too.
2017-05-29 08:05:16 +00:00
// All the keys (alias or not) are written in lower case and the whitespaces has been replaced by underscores.
var LanguagesByAlias = map[string]string{
{{range $alias, $language := . -}}
"{{ $alias }}": {{ printf "%q" $language -}},
{{end -}}
}