Migrate to go-enry new version (#10906)

This commit is contained in:
Lauris BH 2020-04-15 20:40:39 +03:00 committed by GitHub
parent 7a67bcc204
commit 4dc62dadce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
65 changed files with 111849 additions and 102276 deletions

View file

@ -7,7 +7,7 @@ package analyze
import (
"path/filepath"
"github.com/src-d/enry/v2"
"github.com/go-enry/go-enry/v2"
)
// GetCodeLanguageWithCallback detects code language based on file name and content using callback