go2ts

package module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2024 License: MIT Imports: 13 Imported by: 0

README

go-struct-to-ts

A compiler for go structs to typescript types.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Convert

func Convert(goStructs string) (string, error)

func ReadTypes

func ReadTypes(packagePath string) (string, error)

ReadTypes for all files in packagePath

func SetRootDirName

func SetRootDirName(name string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL