Deleted common.go file

This commit is contained in:
David Paz
2017-06-28 11:04:51 +02:00
parent 47555b6e98
commit 78df505715
2 changed files with 1 additions and 569 deletions

View File

@ -375,7 +375,7 @@ func getDotIndexes(filename string) []int {
// will be ignored. It complies with the signature to be a Strategy type.
func GetLanguagesByContent(filename string, content []byte, candidates []string) []string {
ext := strings.ToLower(filepath.Ext(filename))
fnMatcher, ok := contentMatchers[ext]
fnMatcher, ok := data.ContentMatchers[ext]
if !ok {
return nil
}