stack

package
v3.80.13 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Call

func Call(depth int) (c call)

func FileName

func FileName(b bool) recordOption

func FunctionName

func FunctionName(b bool) recordOption

func Lambda

func Lambda(b bool) recordOption

func Line

func Line(b bool) recordOption

func PackageName

func PackageName(b bool) recordOption

func PackagePath

func PackagePath(b bool) recordOption

func Record

func Record(depth int, opts ...recordOption) string

func StructName

func StructName(b bool) recordOption

Types

type Caller

type Caller interface {
	FunctionID() string
}

func FunctionID

func FunctionID(id string) Caller

Jump to

Keyboard shortcuts

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