Closed guregu closed 1 year ago
I think this is still busted until someone tags the right version per https://github.com/biscuit-auth/biscuit-go/pull/106#issuecomment-1347379877
In the meantime, I've just been specifying the commit directly:
go get github.com/biscuit-auth/biscuit-go/v2@370cd7c
Is this issue fixed or not? I tried to do go get github.com/biscuit-auth/biscuit-go/v2@370cd7c which was successful but in imports I am not able to use above path. I tried below - "github.com/biscuit-auth/biscuit-go/v2@370cd7c" but it is saying invalid import path.
Right, thanks for the report, looking into it
I pushed a new tag, let me know if that fixes it for you
Thanks. I did not face any issue this time while using the following
go get github.com/biscuit-auth/biscuit-go/v2
Works great now, thank you!
I think v2 might be released improperly.
AFAIK these are the two options:
v2
to the project root, copygo.mod
there and tack on/v2
to the pathv2
, add/v2
to the module path ingo.mod
TL;DR: this needs
/v2
at the end: https://github.com/biscuit-auth/biscuit-go/blob/main/go.mod#L1, and I think it either needs to be in av2
branch or av2
folder (not sure if v2 from main branch works). The internal imports for the datalog package, etc., need /v2 in their imports as well.