On Fri, Aug 23, 2019 at 10:11 PM Lee Rick <blade2i...@gmail.com> wrote:

> it's not my need, hope other methods
>

Then you need to explain why that answer is not satisfactory and otherwise
better explain your requirements. In your hypothetical example the objects
such as `d1` would not be usable except via reflection (assuming that
approach was even viable). What exactly would be the point? If you need a
data structure that can be composed at run time there are many options. Why
does it need to be a Go struct?

-- 
Kurtis Rader
Caretaker of the exceptional canines Junior and Hank

-- 
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/CABx2%3DD8T1%2BO7mf6OZH0A23miR9cidgzCUsqUM5zRnjS6e_YarA%40mail.gmail.com.

Reply via email to