gots
No matter how you pronounce it, this repository is all about converting Go types to TypeScript types. (by aosasona)
typescriptify-golang-structs
A Golang struct to TypeScript class/interface converter (by tkrajina)
gots | typescriptify-golang-structs | |
---|---|---|
1 | 7 | |
18 | 476 | |
- | - | |
10.0 | 3.0 | |
4 months ago | about 2 months ago | |
Go | Go | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
gots
Posts with mentions or reviews of gots.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-23.
typescriptify-golang-structs
Posts with mentions or reviews of typescriptify-golang-structs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-23.
- 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?
When comparing gots and typescriptify-golang-structs you can also consider the following projects:
protobuf-project - Protobuf with Go import paths for Go and TypeScript: project boilerplate w/ Makefile. Supports grpc, vtprotobuf, drpc, ts-proto, twirp, starpc.
go2ts - Online Golang Struct to TypeScript Interface Converter