Closed ghost closed 8 years ago
I think the problem is that glide needs you to specify subpackages explicitly. The lmdb package is at import path github.com/bmatsuo/lmdb-go/lmdb, not just github.com/bmatsuo/lmdb-go.
I think something like the following is what you need in your glide.yaml file in order to vendor lmdb-go with glide:
import:
- package: github.com/bmatsuo/lmdb-go
subpackages: [lmdb]
And, to make use of other subpackages like exp/lmdbsync you would just add them to the subpackages array.
@bmatsuo Thank you, this sloved my problem.
I'm using golang v1.6.1, and glide for vendor manage.
I run
In my project, which has been add to $GOPATH, get error:
I hope to build lmdb-go first, so I can get auto-complete with gocode set lib-path.