Generate type-safe Go converters by simply defining an interface
output:package
*T
to T
conversionsFix a panic when using the error
type inside the conversion. (#102 via #103)
struct:comment
useUnderlyingTypeMethods
default
map
supports method calls as source-path.func()
typesoutput:file
output:pattern
settings: https://goverter.jmattheis.de/reference/output
mapExtend
mapIdentity
: https://goverter.jmattheis.de/guide/migration
See https://goverter.jmattheis.de/guide/migration for instructions to migrate to this version. If you have problems with this release please create a ticket in this project.
Add goverter:skipCopySameType
, this setting instruct Goverter to skip copying instances when the source and target type is the same.
Prevent unused variables in generated code when empty structs are used