dpath

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTempPath

func CreateTempPath(file *multipart.FileHeader) (string, error)

生成文件本地临时路径

func GetRootPath

func GetRootPath() string

获取项目根目录路径

func IsPathExist

func IsPathExist(path string) bool

判断所给路径文件/文件夹是否存在(返回true是存在)

func Mkmultdir

func Mkmultdir(dirpath string) error

创建多级目录

Types

This section is empty.

Jump to

Keyboard shortcuts

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