Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertBinding ¶
AssertBinding assert Binding interface for obj
func Register ¶
func Register(ta TypeAssertor)
Register register custom TypeAssertor to assert Binding/Render interface
func RegisterType ¶
func RegisterType[T any]()
RegisterType register custom TypeAssertor to assert Binding[T]/Render[T] interface
Types ¶
type Binding ¶
type Binding[T any] interface { Bind(T) mir.Error }
Binding[T] binding interface for custom T context
Click to show internal directories.
Click to hide internal directories.