And just to add, since you mentioned fields on a struct: all fields are initialized to their "zero value" (which for example is 0 for an int, or empty string for a string). So there is no such thing as a non-existent or uninitialized field.
-- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/49ea83d4-3f19-4990-ae69-46a0a48bedcc%40googlegroups.com.