On Mon, Aug 7, 2017 at 12:03 PM, roger peppe <rogpe...@gmail.com> wrote: > ISTM that the only thing you're suggesting is to change > the spelling of "reflect.ValueOf" to "reflect". > > I don't understand what semantics you'd expect > > fmt.Println("value:", r.Value(int)) > > to have. What's the parameter to that Value method? >
Merge ValueOf and TypeOf into one reflect() build in and make the reflect type transform easier with other types fmt.Println("value:", int(r.Value)) -- 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. For more options, visit https://groups.google.com/d/optout.