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

@ -3,7 +3,7 @@ package data
import (
"regexp"
"github.com/src-d/enry/data/rule"
"github.com/src-d/enry/v2/data/rule"
)
var ContentHeuristics = map[string]*Heuristics{

View File

@ -1,3 +1,3 @@
// Code generated by github.com/src-d/enry/internal/code-generator DO NOT EDIT.
// Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: {{ getCommit }}