reflectutil

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InvokeByName

func InvokeByName(v interface{}, name string, args ...interface{}) ([]reflect.Value, error)

only works with exported names (start with uppercase)

func TypeNameBase

func TypeNameBase(v interface{}) (string, error)

Useful to then call functions based on their type names.

Types

This section is empty.

Jump to

Keyboard shortcuts

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