typescriptify-golang-structs
gots
typescriptify-golang-structs | gots | |
---|---|---|
7 | 1 | |
476 | 18 | |
- | - | |
3.0 | 10.0 | |
about 2 months ago | 4 months ago | |
Go | Go | |
Apache License 2.0 | MIT License |
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.
gots
What are some alternatives?
go2ts - Online Golang Struct to TypeScript Interface Converter
protobuf-project - Protobuf with Go import paths for Go and TypeScript: project boilerplate w/ Makefile. Supports grpc, vtprotobuf, drpc, ts-proto, twirp, starpc.
twirp-swagger-gen - A Twirp RPC Swagger/OpenAPI 2.0 generator
gotty - Share your terminal as a web application
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.
oapi-codegen - Generate Go client and server boilerplate from OpenAPI 3 specifications
oto - Go driven rpc code generation tool for right now.
Pulumi - Pulumi - Infrastructure as Code in any programming language. Build infrastructure intuitively on any cloud using familiar languages 🚀
JSON-to-Go - Translates JSON into a Go type in your browser instantly (original)
social - social network in GRPC, Go, mysql, and vuejs,
aws-lambda-go - Libraries, samples and tools to help Go developers develop AWS Lambda functions.
goapi-gen - This package contains a set of utilities for generating Go boilerplate code for services based on OpenAPI 3.0 API definitions