[go-nuts] [generics] Fuzzer, Type Switches

2020-07-18 Thread uluyol0
This seems to work: https://go2goplay.golang.org/p/8veymwXYCoZ Still uses interfaces internally. -- 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+unsu

[go-nuts] Printing unexported fields

2017-10-07 Thread uluyol0
fmt.Printf appears to access unexported fields fine, how does this work? In this example , the call to Printf finds the field name of 'a' and shows the value. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group