reflect

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2020 License: Apache-2.0, BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCaller

func GetCaller(skipFrames int) runtime.Frame

Types

type CallStack

type CallStack struct {
	// contains filtered or unexported fields
}

func GetExternalCallers

func GetExternalCallers(packageName string, skipCallers int) (callers *CallStack)

func (*CallStack) ExternalEntryPoint

func (callStack *CallStack) ExternalEntryPoint() string

func (*CallStack) String

func (callStack *CallStack) String() string

type Callers

type Callers []runtime.Frame

func GetCallers

func GetCallers(skipCallers int) (callers Callers)

func (Callers) Skip

func (callers Callers) Skip(n int) Callers

func (Callers) String

func (callers Callers) String() string

Jump to

Keyboard shortcuts

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