Added all the necessary to do GetLanguageByAlias functionality works

This commit is contained in:
Manuel Carmona
2017-05-04 15:03:54 +02:00
parent 6f3ad6d30d
commit 45314b4903
11 changed files with 864 additions and 8 deletions

View File

@ -4,6 +4,7 @@ import "sort"
type languageInfo struct {
Type string `yaml:"type,omitempty"`
Aliases []string `yaml:"aliases,omitempty"`
Extensions []string `yaml:"extensions,omitempty,flow"`
Interpreters []string `yaml:"interpreters,omitempty,flow"`
Filenames []string `yaml:"filenames,omitempty,flow"`