I'm working on an inflation pool, using the go SDK. However the client/horizon package doesn't expose all the horizon endpoints (the Client Interface only has Root, HomeDomainForAccount, LoadAccount, LoadAccountOffers, LoadMemo, LoadOrderBook, StreamLedgers, StreamPayment, StreamTransaction, and SubmitTransaction).
For example, if I want to detect the last inflation operation validated, using JavaScript I could follow the suggestions from here: How can I determine when the last inflation was distributed?
But using the Go SDK doesn't seem to be that simple. I even tried importing the services/horizon/internal/resourceadapter/operations
package, since it already has the struct definitions for the operations returned by the Horizon Endpoint. But Go doesn't allow that, with the error "use of internal package not allowed".
Is this a design decision of the Go SDK? Is JavaScript the best way to access these Horizon Endpoints?
Thanks!