pathx

package
v0.0.0-...-4675295 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatPath

func FormatPath(p string) string

FormatPath 格式化路径, 统一转换为linux路径

func GetExecutable

func GetExecutable() string

func GetGoPackagePath

func GetGoPackagePath(pkg string) (goPath, pkgPath string, err error)

GetGoPackagePath 获取当前文件执行的路径

func GetWorkingPath

func GetWorkingPath() string

GetWorkingPath 获取当前文件执行的路径

func PathExists

func PathExists(path string) bool

func S生成不重复的文件路径

func S生成不重复的文件路径(path string) (string, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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