diff --git a/example/main.go b/example/main.go index 98df231..11d56b1 100644 --- a/example/main.go +++ b/example/main.go @@ -3,7 +3,7 @@ package main import ( "fmt" - goswn "github.com/dinopuguh/gosentiwordnet" + goswn "github.com/dinopuguh/gosentiwordnet/v2" ) // Token represent the required parameter for using gosentiwordnet diff --git a/go.mod b/go.mod index 4c36029..a7c0189 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,8 @@ -module github.com/dinopuguh/gosentiwordnet +module github.com/dinopuguh/gosentiwordnet/v2 go 1.14 -require github.com/stretchr/testify v1.6.1 +require ( + github.com/dinopuguh/gosentiwordnet v3.1.0+incompatible + github.com/stretchr/testify v1.6.1 +) diff --git a/go.sum b/go.sum index 56d62e7..8c70976 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,8 @@ github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/dinopuguh/gosentiwordnet v1.2.2 h1:6gAGmuCE53KRTZEiEwwY8p4SEXBgttUV6eJ5lz375b4= +github.com/dinopuguh/gosentiwordnet v3.1.0+incompatible h1:A6XAQy/Lg07SRlL9ese116NzahrmGkAObbkPOxQ0azI= +github.com/dinopuguh/gosentiwordnet v3.1.0+incompatible/go.mod h1:ldzdnyBK1cBHYyaYDlI4qzL7nfVLG9+VXjdsSq6Q7r4= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= diff --git a/gosentiwordnet.go b/gosentiwordnet.go index 8d691cd..24b1936 100644 --- a/gosentiwordnet.go +++ b/gosentiwordnet.go @@ -7,8 +7,8 @@ import ( "strconv" "strings" - "github.com/dinopuguh/gosentiwordnet/data" - "github.com/dinopuguh/gosentiwordnet/helpers" + "github.com/dinopuguh/gosentiwordnet/v2/data" + "github.com/dinopuguh/gosentiwordnet/v2/helpers" ) const sentiWordnetAssetName = "rawdata/SentiWordNet_3.0.0.txt" diff --git a/gosentiwordnet_test.go b/gosentiwordnet_test.go index a6a7288..65737c6 100644 --- a/gosentiwordnet_test.go +++ b/gosentiwordnet_test.go @@ -3,7 +3,7 @@ package gosentiwordnet_test import ( "testing" - "github.com/dinopuguh/gosentiwordnet" + "github.com/dinopuguh/gosentiwordnet/v2" "github.com/stretchr/testify/assert" )