Documentation
¶
Index ¶
- func FormatEface(typ *abi.Type, data unsafe.Pointer) any
- func FormatIface[T any](itab *abi.Itab, data unsafe.Pointer) T
- func FromEface(ep *Eface) any
- func FromIface[T any](ip *Iface) T
- func Type[T any]() *abi.Type
- func TypeOf(x any) *abi.Type
- func ValueOf(x any) unsafe.Pointer
- type Eface
- type Iface
- type TypeAssertionError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatIface ¶ added in v0.2.1
NOTE: T MUST be an interface type with at least one method.
Types ¶
type Eface ¶
Eface is the definition for interfaces with no method.
- interface{}
- any
- type Foo interface{}
Click to show internal directories.
Click to hide internal directories.