package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Oct 17, 2025
License: GPL-3.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 3
Opens a new window with list of known importers.
Documentation
¶
ToReader converts an interface{} to an io.Reader
Parameters:
- any: The interface{} to convert (can be io.Reader, string, or []byte)
Returns:
- io.Reader: The converted io.Reader
- error: Error if the conversion fails
type Decoder interface {
Decode(
body interface{},
dest interface{},
) error
DecodeReader(
reader io.Reader,
dest interface{},
) error
}
Decoder interface
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.