Skip to content

Weekly automated build. Do not use in production.

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 16 Jan 14:06
· 6577 commits to main since this release
f1d3310
Go client: autogenerate bindings (#368)

* Go client: autogenerate bindings

- Autogenerates all `go/pkg/types/*` from Zig, except by `Uint128` which is implemented on Go side.

- Autogenerates all enum's String, removing the `stringer` dependency.

- Minor API breaks due to naming conventions: `ID` -> `Id` and `TimeStamp` -> `Timestamp`.
We can avoid that by changing the code generator, but it fells better to translate the snake_case directly to SnakeCase without handling special cases.

- Removes the function `doCreate`, which was copying the results unnecessarily.

Closes #349
Related to #298

* Go client: Update sample program

* Update src/clients/go/go_bindings.zig

Co-authored-by: djg <[email protected]>

* Go client: autogenerate review

* Remove unused script

* Go client: autogen binding tests

Co-authored-by: djg <[email protected]>