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 unix nanoseconds for encoding Cbortime #41

Merged
merged 1 commit into from
Aug 14, 2020

Conversation

whyrusleeping
Copy link
Owner

No description provided.

@whyrusleeping whyrusleeping merged commit c568d32 into master Aug 14, 2020
if err != nil {
return err
}
nsecs := ct.Time().UnixNano()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nano-nit: this will panic if we try to serialize something with a null *time.Time. It should probably check ct == null and emit null in that case.

@aschmahmann aschmahmann mentioned this pull request May 14, 2021
71 tasks
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