Closed goghcrow closed 1 year ago
Describe the bug
type Struct struct { Set map[string]struct{} } // goverter:converter type Bug interface { Convert(*Struct) *Struct }
got
for key, value := range (*source).Set { var unnamed struct{} mapStringUnnamed[key] = unnamed }
Expected behavior
for key, _ := range (*source).Set { var unnamed struct{} mapStringUnnamed[key] = unnamed }
Good catch, thanks for the report.
@goghcrow Can you recheck with the latest version (v0.17.5)?
Describe the bug
got
Expected behavior