runtimes

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurrentRunningFuncName

func CurrentRunningFuncName(skip ...int) string

CurrentRunningFuncName 获取正在运行的函数名

func GetExecutablePathByBuild

func GetExecutablePathByBuild() string

GetExecutablePathByBuild 获取当前执行文件绝对路径(go build)

func GetExecutablePathByCaller

func GetExecutablePathByCaller() string

GetExecutablePathByCaller 获取当前执行文件绝对路径(go run)

func GetTempDir

func GetTempDir() string

GetTempDir 获取系统临时目录

func GetWorkingDir

func GetWorkingDir() string

GetWorkingDir 获取工作目录绝对路径

Types

This section is empty.

Jump to

Keyboard shortcuts

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