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

Add support to time.Time #81

Open
cassioconti opened this issue Jul 29, 2021 · 0 comments
Open

Add support to time.Time #81

cassioconti opened this issue Jul 29, 2021 · 0 comments

Comments

@cassioconti
Copy link

Hi, this is a request to extend the struct generation to support time fields.
If the string matches the ISO 8601 / RFC 3339 patterns, like:

  • 2021-07-28T12:34:56Z
  • 2021-07-28T16:34:56-04:00

Then the type should time.Time instead of string.
Thanks for the consideration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant