Skip to content

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