dashrun

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package dashrun

应用程序运行时工具

Utils of array

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LastCallerFuncName

func LastCallerFuncName(short bool) string

LastCallerFuncName @Editor robotyang at 2023

LastCallerFuncName 获取调用者的方法名

@Param short 是否只返回 不带包路径的 方法名

func LastCallerPlace

func LastCallerPlace(curFileName string) string

LastCallerPlace @Editor robotyang at 2023

LastCallerPlace 获取包外的最后一个调用位置

@Param curFileName 调用者所在文件路径,通过 _, curFileName, _, _ := runtime.Caller(0) 获得

func PanicTrace

func PanicTrace(kb int) []byte

PanicTrace @Editor robotyang at 2023

PanicTrace 获取异常的堆栈信息

Types

This section is empty.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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