Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidStructInput = errors.New("input is not a struct or is nil") ErrTargetTypeMustBeStruct = errors.New("target type must be struct") )
Sentinel errors for structx package.
Functions ¶
func Marshal ¶
Marshal converts a struct to map[string]any using reflection (no error return) Atomic operation - pure struct marshaling without external dependencies
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.