wutils

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: MIT Imports: 2 Imported by: 0

README

wutils

golang tools

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFolderIfNotExists

func CreateFolderIfNotExists(filePath string, perm os.FileMode)

CreateFolderIfNotExists 创建临时文件路径,如果他不存在的话

func FileExists

func FileExists(path string) bool

FileExists 判断所给路径文件/文件夹是否存在

func IsDir

func IsDir(path string) bool

IsDir 判断所给路径是否为文件夹

func NotDir

func NotDir(path string) bool

NotDir 判断所给路径是否为文件

Types

This section is empty.

Jump to

Keyboard shortcuts

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