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

14 lines
389 B
Cheetah
Raw Normal View History

package data
2017-04-04 11:10:35 +00:00
var LanguagesByExtension = map[string][]string{
2017-05-29 08:05:16 +00:00
{{range $extension, $languages := .LanguagesByExtension -}}
2017-04-04 11:10:35 +00:00
"{{ $extension }}": { {{- $languages | formatStringSlice -}} },
{{end -}}
}
2017-05-29 08:05:16 +00:00
var ExtensionsByLanguage = map[string][]string{
2017-05-29 08:05:16 +00:00
{{range $language, $extensions := .ExtensionsByLanguage -}}
"{{ $language }}": { {{- $extensions | formatStringSlice -}} },
{{end -}}
}