oto
oto copied to clipboard
Go driven rpc code generation tool for right now.
In the following article, it mentioned generics. Now the go 1.18 is released and has generics support, I was wondering if there is plan to take advantage of generics? [How...
I've been playing around with oto and one of the first things I wondered was why would the templates not be written in the [text/template](https://pkg.go.dev/text/template) or the [html/template](https://pkg.go.dev/html/template)? And with...
I'm trying oto and thanks it's made creating a client lib so easy. I wonder could oto create an error object for the client-side ? I imagine something like this...
**1. Add python client to /example**  **2. [WIP] Generate python classes from def.Objects** Requires: - (Probably) Adding a Python mapping for (*Parser).parseFieldType ✅ - Creating classes for def.Objects ✅...
We are working on a [Python client for Oto](https://github.com/pacedotdev/oto/blob/master/otohttp/templates/client.py.plush). Can you help?
It is possible to define: ```go type GreeterService interface { GetGreetings(GetGreetingsRequest) GetGreetingsResponse } ``` but some services return list of objects instead of object with a list of object, so:...
```` flags: -ignore string comma separated list of interfaces to ignore ```` Is it possible to add similar: ```` flags: -include string comma separated list of interfaces to generate -list...
In case there are many source templates, it would be helpful if the generated code pointed to the source template, like: ````go // Code generated from ; DO NOT EDIT....
Parsing the below example fails with the error: `parse output object type: parse type: /usr/local/go/src/math/big/int.go:34:2: neg must be exported`. ```go type CalculatorService interface { Calculate(CalculateRequest) CalculateResponse } type CalculateRequest struct{}...
I want to support polymophic discrimination through serialization. For example, see this short example: ```go package main import ( "encoding/json" "fmt" ) type FruitType string const ( AppleType FruitType =...