package
Version:
v1.9.2
Opens a new window with list of versions in this module.
Published: Jun 5, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func AsType[T any](src interface{}) (*T, error)
AsType call json marshal and unmarshal to convert src to given target type
func CopyInto(src interface{}, dest interface{}) error
CopyInto marshal the source object and unmarshal to destination object
LookupPath lookup path for obj
func StrictUnmarshal(bs []byte, dest interface{}) error
StrictUnmarshal unmarshal target structure and disallow unknown fields
Field if Index is not null, it points to an array index; otherwise a
struct field
ParseFields extract fields from one path
Source Files
¶
Click to show internal directories.
Click to hide internal directories.