oto
typescriptify-golang-structs
oto | typescriptify-golang-structs | |
---|---|---|
3 | 7 | |
723 | 475 | |
1.7% | - | |
5.7 | 3.0 | |
about 2 months ago | about 1 month ago | |
Go | Go | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
oto
- tRPC – Move Fast and Break Nothing. End-to-end typesafe APIs made easy
-
Generating OpenAPI 3.0 specs from code - what's working for me...
For new projects, I can probably use https://github.com/pacedotdev/oto and stick with an RPC style, but I've got lots of REST services that include URL params and GET requests to document, hence writing this.
-
Generate types for TS
You should check out https://github.com/pacedotdev/oto.
typescriptify-golang-structs
- Sharing types between Go backend and TypeScript frontend: best practices and tools?
-
Generate types for TS
I've used https://github.com/tkrajina/typescriptify-golang-structs and it's worked for me so far, relatively simple so you can be up in minutes.
-
Best SPA Typescript <-> Golang integration
I have been looking into various ways of doing this properly, including openapi, swagger and grpc, connect-go etc. My conclusion is that these are overkill for this project and that something like https://github.com/tkrajina/typescriptify-golang-structs which generates typescript definitions from go structs, are probably more than enough.
-
what's your favorite backend stack and why
I use this tool to compile go structs to typescript types for integration w frontend
- How do you navigate all the event schema's in your AWS landscape?
-
Online Golang Struct to TypeScript Interface Converter
I'm curious if you looked at https://github.com/tkrajina/typescriptify-golang-structs, and if so, what it does that you didn't want.
What are some alternatives?
vellum-client-generator - Vellum’s Fern API which is used to generate SDKs.
go2ts - Online Golang Struct to TypeScript Interface Converter
crosswalk - Typed express router for TypeScript
twirp-swagger-gen - A Twirp RPC Swagger/OpenAPI 2.0 generator
fern-java - Generate Java models, clients, and server interfaces from your API definition.
typex - [TOOL/CLI] - Filter and examine Go type structures, interfaces and their transitive dependencies and relationships. Export structural types as TypeScript value object or bare type representations.
transmission-material-ui - Web Interface for Transmission using React and MUI.
gots - No matter how you pronounce it, this repository is all about converting Go types to TypeScript types.
ts-websocket-compressor - This library compresses data sent over a WebSocket connection to improve throughput on devices that can't use compression for one reason or another.
JSON-to-Go - Translates JSON into a Go type in your browser instantly (original)
stytch-t3-example - An example app demonstrating how to use Stytch within the T3 stack
aws-lambda-go - Libraries, samples and tools to help Go developers develop AWS Lambda functions.