runtimes

package
v0.0.0-...-1c5f5a9 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurrentFuncName

func CurrentFuncName(skip ...int) string

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