Skip to content

Commit

Permalink
Allow compilation of neo4j support without CGO.
Browse files Browse the repository at this point in the history
Since 1.8.0 neo4j driver no longer requires CGO.
  • Loading branch information
arjantop-cai committed Jul 17, 2020
1 parent 53ef02d commit 271087a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion database/neo4j/neo4j.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package neo4j

import (
"C" // import C so that we can't compile with CGO_ENABLED=0
"bytes"
"fmt"
"io"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ require (
github.com/markbates/pkger v0.15.1
github.com/mattn/go-sqlite3 v1.10.0
github.com/nakagami/firebirdsql v0.0.0-20190310045651-3c02a58cfed8
github.com/neo4j/neo4j-go-driver v1.8.0-beta02
github.com/neo4j/neo4j-go-driver v1.8.0
github.com/snowflakedb/gosnowflake v1.3.5
github.com/stretchr/testify v1.5.1
github.com/tidwall/pretty v0.0.0-20180105212114-65a9db5fad51 // indirect
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,8 @@ github.com/nakagami/firebirdsql v0.0.0-20190310045651-3c02a58cfed8 h1:P48LjvUQpT
github.com/nakagami/firebirdsql v0.0.0-20190310045651-3c02a58cfed8/go.mod h1:86wM1zFnC6/uDBfZGNwB65O+pR2OFi5q/YQaEUid1qA=
github.com/neo4j/neo4j-go-driver v1.8.0-beta02 h1:/z/q3q+T/E/oKqp3sGn7Mn1B8DL4JZevXO41hFLsDOE=
github.com/neo4j/neo4j-go-driver v1.8.0-beta02/go.mod h1:0A49wIv0oP3uQdnbceK7Kc+snlY5B0F6dmtYArM0ltk=
github.com/neo4j/neo4j-go-driver v1.8.0 h1:YRp9jsFcF9k/AnvbcqFCN9OMeIT2XTJgxOpp2Puq7OE=
github.com/neo4j/neo4j-go-driver v1.8.0/go.mod h1:0A49wIv0oP3uQdnbceK7Kc+snlY5B0F6dmtYArM0ltk=
github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
github.com/onsi/ginkgo v1.7.0 h1:WSHQ+IS43OoUrWtD1/bbclrwK8TTH5hzp+umCiuxHgs=
github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
Expand Down

0 comments on commit 271087a

Please sign in to comment.