contractmeta

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2026 License: MIT Imports: 9 Imported by: 0

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.

func TypeID

func TypeID(typ reflect.Type) contract.TypeID

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL