Closed al-kimmel-serj closed 3 weeks ago
Hello Please use: https://github.com/formancehq/formance-sdk-go
I can't use https://github.com/formancehq/formance-sdk-go, because I use only Ledger and I don't use Formance Gateway. Formance SDK has hardcoded prefix /api/ledger/v2
for Ledger API operations and I can't override it.
Hi @al-kimmel-serj ! There is an error in the module path. I will fix it. But, keep in mind this sdk can change, it is used internally for integration tests and some methods/parameters can be changed without any warning.
Ok. I will keep it in mind. Thank you, @gfyrag.)
@al-kimmel-serj The fix is merged on main. You can go get it again.
@gfyrag I see error when I run:
$ go get github.com/formancehq/ledger/pkg/client
go: github.com/formancehq/ledger/pkg/client@upgrade (v0.0.0-20241024085040-32d22503503f) requires github.com/formancehq/ledger/pkg/client@v0.0.0-20241024085040-32d22503503f: parsing go.mod:
module declares its path as: github.com/formancehq/stack/ledger/client
but was required as: github.com/formancehq/ledger/pkg/client
Sorry. Now it works. Maybe problem was on my MacBook. Thank you.
Hi.
I try to install Ledger Golang SDK as described here, but I see:
My environment:
I use ledger running in my k8s cluster, not in Formance Platform.
Could you help to fix it?