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

@ -4,7 +4,7 @@
package main
import "C"
import "github.com/src-d/enry"
import "github.com/src-d/enry/v2"
//export GetLanguage
func GetLanguage(filename string, content []byte) string {