Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
04-05-2019 11:33 AM
$ govendor fetch github.com/neo4j/neo4j-go-driver
fatal: ambiguous argument 'origin/master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git [...] -- [...]'
Error: failed to sync to latest revision exit status 128
Failed to fetch package "github.com/neo4j/neo4j-go-driver"
github.com/kardianos/govendor/context.(*Context).Alter
E:/projects/go/src/github.com/kardianos/govendor/context/modify.go:712
github.com/kardianos/govendor/run.(*runner).Modify
E:/projects/go/src/github.com/kardianos/govendor/run/modify.go:152
04-08-2019 12:21 PM
Sorry for the late reply @sandeepmeenuga.
Looking into the issue, it seems that it's assumed that there will be a master branch, which at this time neo4j-go-driver and gobolt do not have one which means you'll have to put in a bit more effort. It looks like you can just supply the version as such.
Due note that you'll have to install gobolt first since neo4j-go-driver depends on gobolt and will fail since gobolt doesn't have a master branch.
govendor fetch https://github.com/neo4j-drivers/gobolt@1.7
govendor fetch github.com/neo4j/neo4j-go-driver/neo4j/@1.7
Hopefully that works for you!
All the sessions of the conference are now available online