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

18 lines
590 B
Cheetah
Raw Normal View History

2017-04-04 11:10:35 +00:00
package slinguist
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/simple-linguist.v1/internal/code-generator
2017-04-04 11:10:35 +00:00
// THIS FILE SHOULD NOT BE EDITED BY HAND
// Extracted from github/linguist commit: {{ getCommit }}
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{
{{range $language, $extensions := .ExtensionsByLanguage -}}
"{{ $language }}": { {{- $extensions | formatStringSlice -}} },
{{end -}}
}