pub fn registry_to_output<'a, Format>(registry: &'a TypeRegistry) -> String
Expand description
Generates code for all the types in the TypeRegistry
You should provide go_away::GoType
or go_away::TypeScriptType
as a generic
parameter with turbofish syntax to decide which format to output.
Note that this is a WIP API and is likely to be ditched/changed in future releases.