caller

package
v0.0.0-...-cfc904a Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Caller

type Caller struct {
	File string
	Func string
	Line int

	Prev *Caller
	Next *Caller
}

func (*Caller) ParseOrigin

func (c *Caller) ParseOrigin() Origin

func (*Caller) String

func (c *Caller) String() string

type Hash

type Hash uint64

type Info

type Info struct {
	AllCallers []*Caller
	Origin     Origin
	Current    *Caller
	User       *Caller
	// contains filtered or unexported fields
}

func ExtractInfo

func ExtractInfo() *Info

func (*Info) Hash

func (i *Info) Hash() Hash

type Origin

type Origin byte
const (
	OriginUser Origin = iota
	OriginInternal
	OriginGo
	OriginEbitengine
	OriginEbitengineText
	OriginEbitengineTextV2
	OriginEbitengineDrawFinalScreen
)

Jump to

Keyboard shortcuts

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