cheekybits / genny

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

wordify breaks calls to APIs made while generating #49

Closed nolag closed 6 years ago

nolag commented 6 years ago

Eg

type GenericType generic.Type

type NameGenericType Interface {
    DoSomthingGenericType()
}

func Stuff(ngt NameGenericType) {
   ngt.DoSomthingGenericType()
}

When generating with uint8 produces

type uint8 interface {
    DoSomthingUint8()
}

func Stuff(ngt uint8) {
    ngt.DoSomthinguint8()
}