fileUtils

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAndWriteFile

func CreateAndWriteFile(path string, content []byte) error

CreateAndWriteFile 创建并写入文件(create file and write content)

func FileExists

func FileExists(path string) bool

FileExists 检查文件或文件夹是否存在(check file or dir is exists)

func GenerateFileNameWithTimeAndRandomNumber

func GenerateFileNameWithTimeAndRandomNumber() string

GenerateFileNameWithTimeAndRandomNumber 根据时间和随机数生成文件名(generate file name with time and random number)

Types

This section is empty.

Jump to

Keyboard shortcuts

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