Documentation
¶
Index ¶
- func CallMethodWithTypes(val any, name string, ins []reflect.Value, outTypes []reflect.Type) ([]reflect.Value, error)
- func GetInsAndOuts(typ reflect.Type) ([]reflect.Type, []reflect.Type)
- func GetMethodWithTypes(val any, name string, ins []reflect.Type, outs []reflect.Type) (reflect.Value, error)
- type ErrInvalidMethod
- type ErrNoSuchMethod
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallMethodWithTypes ¶
Types ¶
type ErrInvalidMethod ¶
type ErrInvalidMethod struct {
// contains filtered or unexported fields
}
func (ErrInvalidMethod) Error ¶
func (e ErrInvalidMethod) Error() string
type ErrNoSuchMethod ¶
type ErrNoSuchMethod struct {
// contains filtered or unexported fields
}
func (ErrNoSuchMethod) Error ¶
func (e ErrNoSuchMethod) Error() string
Click to show internal directories.
Click to hide internal directories.