reflectutil

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 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 any, name string, args ...any) ([]reflect.Value, error)

only works with exported names (start with uppercase)

func TypeNameBase

func TypeNameBase(v any) (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