Documentation
¶
Overview ¶
Package contractmeta describes a closed set of framework-owned wire structs. Application DTOs always supply their generated typed contract explicitly.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Struct ¶
func Struct(root reflect.Type, structures []reflect.Type, overrides map[reflect.Type]contract.Type, includes ...contract.Type) (contract.Schema, error)
Struct uses actual JSON fields/tags and the shared promotion rules. Only listed structs may be inspected. Overrides and includes retain existing typed providers, so their native codecs are not erased by serialization.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.