tkrajina/typescriptify-golang-structs

Error message to stderr

leaanthony opened this issue · 3 comments

Hi - great project.

I noticed that there is a message that's being output to stderr and there's no way of disabling it because the logic test is always true:
https://github.com/tkrajina/typescriptify-golang-structs/blob/master/typescriptify/typescriptify.go#L131-L133

Happy to do a PR for this...

Ah, yes, you're right, thanks! I moved that warning in the .Convert() method and also changed the default of CreateFromMethod to false. That warning is showing for almost a year now.

Thanks. Let me know when you tag it and I'll switch from my fork. Thanks.

It's in v0.1.7 now.