This project has 3 workspace projects,. (UI, coming soon is here)
- typify_gostruct
- wasm
- www
This is the rust interpreter that parses & interprets the go-struct to interfaces of other languages.
Check out the dedicated readme of the interpreter here
This is the wasm wrapper of the interpreter, making it accessible to browser environments.
It exposes just 1 function transform(source: str, to: str)
.
Source
represents the struct in string format, and To
is the name of the interpreter.
Link to npm package is -> https://www.npmjs.com/package/typify_gostruct_wasm
The UI simply imports the wasm wrapper & calls the exported wasm function. Give it a try here https://typify-gostruct.netlify.app/