Skip to content

Replace time.Now().Sub(t) with time.Since(t)#7

Open
deepsource-runner-dev-app[bot] wants to merge 1 commit into
masterfrom
deepsource-autofix-0c78c50c
Open

Replace time.Now().Sub(t) with time.Since(t)#7
deepsource-runner-dev-app[bot] wants to merge 1 commit into
masterfrom
deepsource-autofix-0c78c50c

Conversation

@deepsource-runner-dev-app
Copy link
Copy Markdown

The time.Since(t) helper has the same effect as using time.Now().Sub(t).

The `time.Since(t)` helper has the same effect as using `time.Now().Sub(t)`.
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.

1 participant