tkrajina / typescriptify-golang-structs

A Golang struct to TypeScript class/interface converter
Apache License 2.0
505 stars 87 forks source link

Added field that is not annotated with json tag #63

Closed klpx closed 2 years ago

klpx commented 2 years ago

The idea behind this change is that json.Marshall will take field's name as it is if no json annotation is specified. So I propose here to keep the same behavior for generated TypeScript types.

tkrajina commented 2 years ago

Makes sense, thanks!