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

Add directory Cache implementation #9

Merged
merged 4 commits into from
Mar 27, 2018
Merged

Add directory Cache implementation #9

merged 4 commits into from
Mar 27, 2018

Conversation

johanbrandhorst
Copy link
Owner

No description provided.

return
}
err = gob.NewDecoder(f).Decode(&cert)
_ = f.Close()
Copy link
Contributor

Choose a reason for hiding this comment

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

Any reason too keep the assignment?

Copy link
Owner Author

Choose a reason for hiding this comment

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

I like showing that we're explicitly ignoring the error rather than just calling the function without assignment, which could be mistaken for accidentally ignoring the error.

@johanbrandhorst johanbrandhorst changed the title Add directory Cache implementaiton Add directory Cache implementation Mar 27, 2018
@johanbrandhorst johanbrandhorst merged commit 3a18c5b into master Mar 27, 2018
@johanbrandhorst johanbrandhorst deleted the add-dircache branch March 27, 2018 20:47
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.

None yet

2 participants