elliotchance / pie

🍕 Enjoy a slice! A utility library for dealing with slices and maps that focuses on type safety and performance.
https://pkg.go.dev/github.com/elliotchance/pie/v2
MIT License
1.96k stars 91 forks source link

When arrary elt type is interface, the generated code can not be build #168

Closed Luoxin closed 3 years ago

Luoxin commented 3 years ago

if typeSpec elt is interface zeroValue should be nil


This change is Reviewable