Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date to string type #20

Open
whutchtwo opened this issue Oct 10, 2019 · 3 comments
Open

Date to string type #20

whutchtwo opened this issue Oct 10, 2019 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@whutchtwo
Copy link

Is there an option to convert stuct date to a string when generating typescript?

@OneOfOne
Copy link
Owner

Not at the moment, I have a plan for adding an option to force types but I've been busy recently.

If you wanna work on it, a PR is more than welcome, otherwise I'll eventually get to it.

@OneOfOne OneOfOne added enhancement New feature or request help wanted Extra attention is needed labels Oct 10, 2019
@whutchtwo
Copy link
Author

Just starting new job and using golang for the first time, but would love to try and tackle it if they give me the time. Your tool is great and got me 95% of the way there. For now I am running the output through sed to translate the Date to string.

@zmitry
Copy link

zmitry commented Oct 31, 2019

check my lib, it's done by default there
https://github.com/zmitry/go2typings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants