code

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2025 License: Apache-2.0 Imports: 3 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func File

func File() string

File returns the file name of the call point.

func FileLine

func FileLine() string

FileLine returns the file name and line of the call point. In reality code.FileLine costs less time than debug.Stack.

func Line

func Line() int

Line returns the file line of the call point.

Types

This section is empty.

Jump to

Keyboard shortcuts

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