utils

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckFileOrDir

func CheckFileOrDir(path string) (bool bool, err error)

CheckFileOrDir 判断路径是文件还是文件夹

func GetAllFiles

func GetAllFiles(dirPth string, temps []string, suffix string) (files []string, err error)

GetAllFiles 获取指定目录下的所有文件,包含子目录下的文件

func PathSplitToFileName

func PathSplitToFileName(path string) string

PathSplitToFileName 分割路径

Types

This section is empty.

Jump to

Keyboard shortcuts

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