3 ms·
Neat! I have experimented with various ways to convert Go structs to/from TypeScript interfaces. - https://quicktype.io/ https://quicktype.io/ - https://githu
by nzoschke 9mo ago
Neat! I have experimented with various ways to convert Go structs to/from TypeScript interfaces.
- https://quicktype.io/ https://quicktype.io/
- https://github.com/danielgtaylor/huma https://github.com/danielgtaylor/huma then OpenAPI -> TS
- https://github.com/gzuidhof/tygo https://github.com/gzuidhof/tygo
- https://github.com/coder/guts https://github.com/coder/guts
guts also does some AST stuff.
It seems like this project could help with this and then some.