fjl / gencodec

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

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

Open itsdevbear opened 5 months ago

itsdevbear commented 5 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 5 months ago

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