proxy.golang.org : github.com/armsnyder/ts2go
Package ts2go is a modular and highly customizable code generator for converting TypeScript type definitions into Golang code. The Generate function is the primary entry point for the package. It accepts a TypeScript source file as input and writes the generated Golang code to an output writer. The WithMixin function can be used to customize the data that is passed to the templates. This is useful for adding custom data to the parsed types before they are rendered. The WithTemplateOverrideDir function can be used to specify a directory that contains template overrides. This is useful for customizing the generated code without modifying the built-in templates. The templates used by this package are highly modular, allowing you to override only the parts that you need.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/armsnyder/ts2go
License: MIT
Latest release: 10 months ago
First release: 10 months ago
Namespace: github.com/armsnyder
Last synced: 17 days ago