cheekybits / genny

Elegant generics for Go
MIT License
1.71k stars 167 forks source link

Add the ability to create unexported types from an exported template #67

Open jsouthworth opened 3 years ago

jsouthworth commented 3 years ago

This allows one to create an exported template type and create a non exported type from that template.

Fixes #66

jsouthworth commented 3 years ago

Sorry for the commit churn, there were a few corners I hadn't considered in the original commit.