Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶
Build is placed in the body of an bind function template to declare the source to use. The bindgen code generation tool will fill in an implementation of the function. Build returns an error message that can be sent to a call to panic().
Examples:
func bind[T any](target T, source1, source2 any) T { panic(bindgen.Build("ignore1", "ignore2")) } func bind(target any, source1, source2 any) { panic(bindgen.Build()) } func (p *obj) bind(source1, source2 any) { panic(bindgen.Build()) } func new(source1, source2 any) any { panic(bindgen.Build()) }
nolint: revive
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.