mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 02:17:05 +00:00
update dependencies
This commit is contained in:
@@ -44,7 +44,7 @@ var DefaultBodyDecoder = myBodyDecoder{}
|
||||
// we will use the simplest `context#UnmarshalerFunc` to pass just the yaml.Unmarshal.
|
||||
//
|
||||
// Can be used as: ctx.UnmarshalBody(&c, DefaultBodyDecoder)
|
||||
func (r *myBodyDecoder) Unmarshal(data []byte, outPtr interface{}) error {
|
||||
func (r *myBodyDecoder) Unmarshal(data []byte, outPtr any) error {
|
||||
return yaml.Unmarshal(data, outPtr)
|
||||
}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user