Closed tsal closed 4 years ago
I can reproduce the test issue when running go test github.com/objectbox/objectbox-go/...
- I'll have a look what's the problem.
However, I suggest you can still go ahead and use ObjectBox in your project, it should work on your version of macOS AFAICT.
The problem with your main.go is unrelated to ObjectBox and actually says it in the error: illegal character U+200B
- looks like your main.go has 0-width spaces at the beginning of line 25 - try to remove those. Googling that error yielded some, probably useful, suggestions, e.g.
https://stackoverflow.com/questions/35657620/illegal-character-error-u200b
You should delete line 12 (the blank line), save the file, re-add the blank line and save again. using a simple text editor. If that doesn't fix it delete lines 11 and 13 as well and recreate them.
Test failure fixed by by the latest release v1.1.1
ObjectBox looks like it might be a good choice for a personal project, but I'm having some issues getting it to work out of the, er.. box. The install script works fine, but running the go tests throws me a panic, and it looks as if some expected test data is missing.
go 1.13.4 macOS Mojave (10.14.x)
I'm using go modules and ran the install script from my project path - it updated
go.mod
as I expected:Test output:
Test main.go:
Go generate execution:
I thought it was kinda weird that it had an install script with some build steps happening - is this not the correct instructions for using this as an embedded engine?