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

Printer should print the struct type #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hayeah
Copy link

@hayeah hayeah commented Sep 17, 2013

No description provided.

@raff
Copy link
Member

raff commented Sep 17, 2013

Did you try with an anonymous structure ? I would think the type name would be empty in which case it should print "struct".

@hayeah
Copy link
Author

hayeah commented Sep 18, 2013

@raff huh. I am new to Golang, and didn't know about anonymous struct.

For those, the type name would be the struct definition.

e.g. struct { A string; B int }

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