util

package
v0.0.0-...-d6956c3 Latest Latest
Warning

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

Go to latest
Published: May 19, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbPath

func AbPath(file string) string

func GetCurrentAbPath

func GetCurrentAbPath() string

最终方案-全兼容

func GetCurrentAbPathByCaller

func GetCurrentAbPathByCaller(skip int) string

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

func GetCurrentAbPathByExecutable

func GetCurrentAbPathByExecutable() string

获取当前执行文件绝对路径

Types

This section is empty.

Jump to

Keyboard shortcuts

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