Using the go sdk
We provide and maintain a Go SDK that provides a convenient way to implement Go clients for Pydio Cells. It is hosted on Github at https://github.com/pydio/cells-sdk-go.
The repository contains a bunch of basic examples that use the SDK to perform simple actions on a running Pydio Cells instance.
The SDK is generated by the go-swagger project. For the record, we use two “tricks” during the SDK generation process:
--skip-validationflag to avoid circular issues with object that make reference to same type of objects, typically activities and jobs. See issue #957 in go-swagger repository for more details.
- Patch all default json tags that are generated for all fields with type
int64to workaround the int64 serialisation issue between protobuf and swagger.