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

Use Duration.Truncate for truncating precision #2711

Merged
merged 2 commits into from May 4, 2021

Commits on May 3, 2021

  1. Use Duration.Truncate for truncating precision

    `Duration.Truncate` was added in Go 1.9 and Gin required Go version 1.13+ now.
    So we can use `Duration.Truncate`.
    y-yagi committed May 3, 2021
    Copy the full SHA
    5ee3856 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    ec030a0 View commit details
    Browse the repository at this point in the history