modules: prepare for v2 release

- update go.mod \w v2
 - update all import paths

Signed-off-by: Alexander Bezzubov <bzz@apache.org>
This commit is contained in:
Alexander Bezzubov
2019-04-14 21:28:12 +02:00
parent 453caf7d19
commit 6a5f37e9e2
37 changed files with 41 additions and 41 deletions

View File

@ -6,8 +6,8 @@ import (
"path/filepath"
"strings"
"github.com/src-d/enry/data"
"github.com/src-d/enry/regex"
"github.com/src-d/enry/v2/data"
"github.com/src-d/enry/v2/regex"
)
// OtherLanguage is used as a zero value when a function can not return a specific language.