reflectx

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2021 License: MIT Imports: 3 Imported by: 5

Documentation

Overview

Package reflectx provide helpers for reflect.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallerMethodName

func CallerMethodName(skip int) string

CallerMethodName returns caller's method name for given stack depth.

func CallerPkg added in v1.4.0

func CallerPkg(skip int) string

CallerPkg returns caller's package name (from path) for given stack depth.

func MethodsOf

func MethodsOf(v interface{}) []string

MethodsOf require pointer to interface (e.g.: new(app.Appl)) and returns all it methods.

Types

This section is empty.

Jump to

Keyboard shortcuts

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