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

Go templates with time.Duration do not work well #1147

Closed
moshloop opened this issue Jul 12, 2023 · 0 comments
Closed

Go templates with time.Duration do not work well #1147

moshloop opened this issue Jul 12, 2023 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@moshloop
Copy link
Member

i.e. switch to custom json marshalled type

This does not return the expected result for an http check

      display:
        template: "Received from: {{.json.origin}}: {{.json.json.name}} in {{.elapsed | duration}}"
@moshloop moshloop added the bug Something isn't working label Jul 12, 2023
@moshloop moshloop added this to the v1.0.0 milestone Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant