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 a "duration" string format #257

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

ptodev
Copy link

@ptodev ptodev commented Aug 5, 2024

I've been trying to schematise the config of an application which uses time.Duration. Ideally, I'd like the generated Go code to use time.Duration.

This PR is still at a very early stage. Please feel free to let me know if you approve the overall direction in which the work is going. Any help would be much appreciated! 😊

@omissis
Copy link
Owner

omissis commented Sep 16, 2024

hey @ptodev the idea looks promising, are you still interested in pushing this one further?

@ptodev
Copy link
Author

ptodev commented Sep 19, 2024

Hi, @omissis! I'd be very happy to address any feedback you have.
Thank you so much for taking a look!

I believe the code mostly generates what it needs to, but it's still WIP due to the TODOs.

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

Successfully merging this pull request may close these issues.

2 participants