objectbox / objectbox-go

Embedded Go Database, the fast alternative to SQLite, gorm, etc.
https://objectbox.io
Apache License 2.0
1.07k stars 46 forks source link

go get install instructions don't work #6

Closed deepthawtz closed 5 years ago

deepthawtz commented 5 years ago

following instructions in the README:

go get github.com/objectbox/objectbox-go
can't load package: package github.com/objectbox/objectbox-go: no Go files ...
vaind commented 5 years ago

Thanks for pointing this out.

Actually, the repository seems to be checked out correctly, the Go tool just warns that there are no Go files directly in the repo root. This doesn't mean it's not working and you can proceed with the other steps (get flatbuffers & the lib, run the test)

The following command (three-dot version) would work the same but wouldn't give the notice (because there are Go files somewhere in the project, obviously).

go get github.com/objectbox/objectbox-go/...

In any case, we will fix that to prevent the confusion in the future.

vaind commented 5 years ago

The docs have been updated to use go get github.com/objectbox/objectbox-go/... so the go tool doesn't complain anymore. Thanks again for the report.