// Package abstract ... // // Description : abstract ... // // Author : go_developer@163.com<白茶清欢> // // Date : 2024-10-22 16:38 package abstract // RequestBodyParseAdaptor 解析请求body的接口适配器约束 // // Author : go_developer@163.com<白茶清欢> // // Date : 16:39 2024/10/22 type RequestBodyParseAdaptor interface { // Unmarshal 自定义反序列化的方法, 为 nil 则使用内置的序列化方式 Unmarshal(sourceData []byte, receiver any) error }