typescriptify-golang-structs
twirp-swagger-gen
typescriptify-golang-structs | twirp-swagger-gen | |
---|---|---|
7 | 1 | |
476 | 47 | |
- | - | |
3.0 | 0.0 | |
about 2 months ago | 9 months ago | |
Go | Go | |
Apache License 2.0 | 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.
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.
twirp-swagger-gen
-
Best SPA Typescript <-> Golang integration
Twirp is nice. You can code-gen the front end and the backend code and you get swagger for free if you want it
What are some alternatives?
go2ts - Online Golang Struct to TypeScript Interface Converter
webrpc - webrpc is a schema-driven approach to writing backend services for modern Web apps and networks
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.
twirp - A simple RPC framework with protobuf service definitions
gots - No matter how you pronounce it, this repository is all about converting Go types to TypeScript types.
oto - Go driven rpc code generation tool for right now.
JSON-to-Go - Translates JSON into a Go type in your browser instantly (original)
aws-lambda-go - Libraries, samples and tools to help Go developers develop AWS Lambda functions.
tygo - Generate Typescript types from Golang source code
social - social network in GRPC, Go, mysql, and vuejs,
goapi-gen - This package contains a set of utilities for generating Go boilerplate code for services based on OpenAPI 3.0 API definitions
htmx - </> htmx - high power tools for HTML