This commit is contained in:
potassium 2025-05-08 21:44:49 +03:00
parent f07b30bf52
commit 80092295f6

2
ndb.go
View File

@ -203,7 +203,7 @@ func (e *Encoder) Encode(v interface{}) error {
defer func() {
e.start = false
}()
return Switch(e, v)
return Switch(e, val)
}
func Switch(e *Encoder, v reflect.Value) error {