This commit is contained in:
potassium 2025-05-08 22:01:09 +03:00
parent c0f6b4fcbb
commit e381e56bc7

View File

@ -35,7 +35,7 @@ func (e *Encoder) encodeMap(val reflect.Value) error {
for _, k := range val.MapKeys() { for _, k := range val.MapKeys() {
v := val.MapIndex(k) v := val.MapIndex(k)
println(v.Elem().Kind().String()) println(v.Elem().Kind().String())
if v.Kind() == reflect.Map { if v.Elem().Kind() == reflect.Map {
return e.encodeMap(v) return e.encodeMap(v)
} }