JS_TYPIFY_GOSTRUCT
A rust tool meant to convert a golang struct to a type object/interface or the supported languages.
Supported languages / typesystems.
- flow
- typescript
How to use
use Source;
Running the examples
The examples folder contains various examples of how the library works & is to be used.
To run a specific example run the following command
eg
cargo run --example flow
cargo run --example typescript
TODO
- Re-introduce tests & fix bugs.
- Add documentation for the library.
- Introduce interpreter support for other languages,eg, gostruct -> rust struct....
- Make a WASM wrapper for this library so that it can be used natively on the web.