runtime2

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2015 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Caller

func Caller(depth int) string

Caller report caller's position with file:function:line format depth means which caller, 0 means yourself, 1 means your caller

func Stack added in v0.2.3

func Stack(bufsize int, all bool) []byte

Types

type Pos added in v0.2.3

type Pos struct {
	File string
	Pc   uintptr
	Line int
}

func CallerPos added in v0.2.3

func CallerPos(depth int) Pos

func (Pos) String added in v0.2.3

func (c Pos) String() string

Jump to

Keyboard shortcuts

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