Skip to content

jsphbtst/go-structs-to-ts-types-transpiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Go Structs to TS Types Transpiler

This repo uses Go's built-in go/ast, go/parser, and go/token to convert files containing Go structs to their TypeScript type equivalent.

To try it out, run the following command:

go run cmd/*.go

A TODO is to write the transpiled structs into a new file instead of logging to stdout.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages