file

package
v0.0.0-...-c113072 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ext

func Ext(path string) string

Ext

@Description: 获取给定路径的扩展名,包含.
@param path 路径
@return string给定路径的扩展名,包含.

func ExtName

func ExtName(path string) string

ExtName

@Description: 获取给定路径的扩展名,不包含.
@param path 路径
@return string 给定路径的扩展名

func SelfDir

func SelfDir() string

SelfDir

@Description: 获取当前程序所在的目录
@return string 当前程序所在的目录

func SelfPath

func SelfPath() string

SelfPath

@Description: 获取当前运行程序的路径,包含程序名
@return string 当前运行程序的路径

Types

This section is empty.

Jump to

Keyboard shortcuts

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