Something like a typeof() operator or something?
I realize something like reflect.TypeOf(Foo{}).FieldByName("xyz") is
possible, but the field-name can't be checked at compile-time...
Any other alternatives?
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.