This commit is contained in:
src committed 2026-10-09 15:45:41 +03:00
1 parent 7ccd84cd96
commit f96ab6054d
22 files changed
+2815 -32

No files matched your search

-4
View File
@@ -17,10 +17,6 @@ import (
)
func (c *Client) Decode(v any, body []byte, contentType string) (err error) {
if len(body) == 0 {
return nil
}
if jsonCheck.MatchString(contentType) {
if actualObj, ok := v.(interface{ GetActualInstance() any }); ok {
if unmarshalObj, ok := actualObj.(interface{ UnmarshalJSON([]byte) error }); ok {