Skip to content

Instantly share code, notes, and snippets.

@gocs
Created July 19, 2022 11:42
Show Gist options
  • Save gocs/f1f17a07a5461436a0ef5eac06018f68 to your computer and use it in GitHub Desktop.
Save gocs/f1f17a07a5461436a0ef5eac06018f68 to your computer and use it in GitHub Desktop.
golang time.Time zero value

What should be the time.Time's zero value?

It should be time.Now()

@gocs
Copy link
Author

gocs commented Jul 19, 2022

or 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment