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

Uses empty struct values instead of pointers. #1

Merged
merged 1 commit into from Oct 27, 2014
Merged

Uses empty struct values instead of pointers. #1

merged 1 commit into from Oct 27, 2014

Conversation

ghost
Copy link

@ghost ghost commented Oct 27, 2014

Very minor, but according to:
https://groups.google.com/forum/#!topic/golang-nuts/lb4xLHq7wug, this
is preferred because empty structs have zero size.

According to:
https://groups.google.com/forum/#!topic/golang-nuts/lb4xLHq7wug, this
is preferred because empty structs have zero size.
@flosch
Copy link
Owner

flosch commented Oct 27, 2014

You're right, thanks.

flosch added a commit that referenced this pull request Oct 27, 2014
Uses empty struct values instead of pointers.
@flosch flosch merged commit 702495e into flosch:master Oct 27, 2014
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