v1.2.0 Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2023 License: Apache-2.0 Imports: 21 Imported by: 0


Client and Example Generator

To run the code generation, from the repo root issue:

go install ./cmd/client-generator; client-generator .

The general flow is that protos get turned to an openapi json and this generator takes the JSON and creates go and typescript clients.

Most of the templating is done with go text templates, but the harder parts like recursive type definitions are done by functions. Go and JS are similar enough to share most of the code but PHP proved to be a harder case (see unfinished

CI happens in this workflow


The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL