Skip to content

Commit

Permalink
Merge pull request #4 from dinopuguh/v2
Browse files Browse the repository at this point in the history
🧹Update module version
  • Loading branch information
dinopuguh authored Oct 12, 2020
2 parents 8ef9195 + 93648b4 commit 40547a4
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion example/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 5 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -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
)
3 changes: 3 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -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=
Expand Down
4 changes: 2 additions & 2 deletions gosentiwordnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion gosentiwordnet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package gosentiwordnet_test
import (
"testing"

"github.com/dinopuguh/gosentiwordnet"
"github.com/dinopuguh/gosentiwordnet/v2"
"github.com/stretchr/testify/assert"
)

Expand Down

0 comments on commit 40547a4

Please sign in to comment.