Generate types for TS

This page summarizes the projects mentioned and recommended in the original post on /r/golang

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • typescriptify-golang-structs

    A Golang struct to TypeScript class/interface converter

    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.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • tygo

    Generate Typescript types from Golang source code

    I use https://github.com/gzuidhof/tygo for generating my TS types directly from go structs.

  • htmx

    </> htmx - high power tools for HTML

    However, I recently moved off the svelte stack onto something a bit more novel: HTMX and Hyperscript. It has been absolutely life changing, through and through. By using both, everything I do is in Go, and some very easy to understand Hyperscript. No more node, no more NPM madness, etc. I'm working 10x faster, and writing almost everything in Go -- you don't need types between languages if all you use is one language.

  • Wails

    Create beautiful applications using Go

    The wails project does this when. You can check it out here https://github.com/wailsapp/wails/blob/master/v2/internal/typescriptify/typescriptify.go for inspection.

  • goa

    🌟 Goa: Elevate Go API development! 🚀 Streamlined design, automatic code generation, and seamless HTTP/gRPC support. ✨

  • oto

    Go driven rpc code generation tool for right now. (by pacedotdev)

    You should check out https://github.com/pacedotdev/oto.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Building microservices in Go with Fiber

    6 projects | dev.to | 22 Mar 2022
  • AI user interface patterns

    3 projects | dev.to | 3 Oct 2024
  • Creating a Bot for Bluesky Social

    5 projects | dev.to | 13 Sep 2024
  • ✨ Cursor AI Editor — Is It Actually Useful?

    1 project | dev.to | 10 Sep 2024
  • Comparing Fiber vs. Gin for Go web development

    3 projects | dev.to | 24 Jul 2024