fjl / gencodec

Command gencodec generates marshaling methods for Go struct types.
MIT License
54 stars 28 forks source link

bug(generator): Cannot generate when generics are present. #23

Open itsdevbear opened 7 months ago

itsdevbear commented 7 months ago

Example:

image image image

IMO if the generic is constrained to support json marshal and unmarshal the generator should be able to handle it

itsdevbear commented 7 months ago

Context: I am experimenting with how to handle different types via their fork version