diff --git a/README.md b/README.md index 1aeb279..8195701 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ type MyNeo4jObject struct { package main import ( - "github.com/mindstand/gogm" + "github.com/mindstand/gogm/v2" "time" ) diff --git a/examples/example.go b/examples/example.go index c68d141..cd4012c 100644 --- a/examples/example.go +++ b/examples/example.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "github.com/mindstand/gogm" + "github.com/mindstand/gogm/v2" "reflect" "time" ) diff --git a/go.mod b/go.mod index 5e5babc..9da5670 100644 --- a/go.mod +++ b/go.mod @@ -10,6 +10,7 @@ require ( github.com/google/uuid v1.1.1 github.com/kr/pretty v0.1.0 // indirect github.com/mindstand/go-cypherdsl v0.2.0 + github.com/mindstand/gogm v1.4.1 github.com/neo4j/neo4j-go-driver v1.8.1-0.20200622090208-4295b59525c9 github.com/sirupsen/logrus v1.6.0 github.com/stretchr/objx v0.2.0 // indirect diff --git a/go.sum b/go.sum index 73485fc..cd062c6 100644 --- a/go.sum +++ b/go.sum @@ -35,6 +35,8 @@ github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/mindstand/go-cypherdsl v0.2.0 h1:/B6A8DhWk2RksdJxruy3+ii3Hvrr5JU+2vL3/oJMLrI= github.com/mindstand/go-cypherdsl v0.2.0/go.mod h1:swzbrSTuq3CRgFglg3aVThG9GBQmHXz6AY81q9mRMto= +github.com/mindstand/gogm v1.4.1 h1:vrcAMLDAQhJ+avxoU7AbvaP9utKrtpBVKXuLxwue6eo= +github.com/mindstand/gogm v1.4.1/go.mod h1:Ll/7de/DAYpshgWdPlAWjJL13ZsP1TMWg4LTopoXm14= github.com/neo4j/neo4j-go-driver v1.8.1-0.20200622090208-4295b59525c9 h1:amJ2VBG5eDK/r9pUjo6/h2np0kYyla5FLWWLyg29H0w= github.com/neo4j/neo4j-go-driver v1.8.1-0.20200622090208-4295b59525c9/go.mod h1:0A49wIv0oP3uQdnbceK7Kc+snlY5B0F6dmtYArM0ltk= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= diff --git a/mocks/ISession.go b/mocks/ISession.go index 9f9f794..1b5973b 100644 --- a/mocks/ISession.go +++ b/mocks/ISession.go @@ -4,7 +4,7 @@ package mocks import ( go_cypherdsl "github.com/mindstand/go-cypherdsl" - gogm "github.com/mindstand/gogm" + gogm "github.com/mindstand/gogm/v2" mock "github.com/stretchr/testify/mock" ) diff --git a/mocks/SessionV2.go b/mocks/SessionV2.go index c84ca34..35643e4 100644 --- a/mocks/SessionV2.go +++ b/mocks/SessionV2.go @@ -4,7 +4,7 @@ package mocks import ( go_cypherdsl "github.com/mindstand/go-cypherdsl" - gogm "github.com/mindstand/gogm" + gogm "github.com/mindstand/gogm/v2" mock "github.com/stretchr/testify/mock" diff --git a/mocks/TransactionV2.go b/mocks/TransactionV2.go index 5be72ac..4707cfd 100644 --- a/mocks/TransactionV2.go +++ b/mocks/TransactionV2.go @@ -4,7 +4,7 @@ package mocks import ( go_cypherdsl "github.com/mindstand/go-cypherdsl" - gogm "github.com/mindstand/gogm" + gogm "github.com/mindstand/gogm/v2" mock "github.com/stretchr/testify/mock" diff --git a/testing_/linking_test.go b/testing_/linking_test.go index 8056932..7be57a9 100644 --- a/testing_/linking_test.go +++ b/testing_/linking_test.go @@ -20,7 +20,7 @@ package testing_ import ( - "github.com/mindstand/gogm" + "github.com/mindstand/gogm/v2" "github.com/stretchr/testify/require" "testing" ) diff --git a/testing_/test_edge.go b/testing_/test_edge.go index 1694634..37b395d 100644 --- a/testing_/test_edge.go +++ b/testing_/test_edge.go @@ -20,7 +20,7 @@ package testing_ import ( - "github.com/mindstand/gogm" + "github.com/mindstand/gogm/v2" "reflect" ) diff --git a/testing_/test_obj.go b/testing_/test_obj.go index 8f1680c..263eb42 100644 --- a/testing_/test_obj.go +++ b/testing_/test_obj.go @@ -19,7 +19,7 @@ package testing_ -import "github.com/mindstand/gogm" +import "github.com/mindstand/gogm/v2" type ExampleObject struct { gogm.BaseNode diff --git a/testing_/test_obj2.go b/testing_/test_obj2.go index 9d74cc6..bdd410a 100644 --- a/testing_/test_obj2.go +++ b/testing_/test_obj2.go @@ -19,7 +19,7 @@ package testing_ -import "github.com/mindstand/gogm" +import "github.com/mindstand/gogm/v2" type ExampleObject2 struct { gogm.BaseNode