callerinfo

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CallerInfo

type CallerInfo struct {
	CallerName string
	File       string
	Lineno     int
	CallerDoc  string
}

type Collector

type Collector struct {
	Fset  *token.FileSet
	Depth int
	// contains filtered or unexported fields
}

func NewCollector

func NewCollector(depth int) *Collector

func (*Collector) CallerName

func (c *Collector) CallerName() string

func (*Collector) Info

func (c *Collector) Info() CallerInfo

Jump to

Keyboard shortcuts

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