filex

package module
v0.0.0-...-2e3374b Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDir

func CreateDir(dir string) error

func IsExist

func IsExist(path string) bool

func RenameFile

func RenameFile(src, dest string) error

RenameFile only windows func

func Unzip

func Unzip(zipFile string, destDir string) error

func UploadedFile

func UploadedFile(dst string, file multipart.File, fileHeader *multipart.FileHeader) (int, error)

UploadedFile 保存上传文件 定长读取

func WriteFile

func WriteFile(path string, data []byte, perm os.FileMode) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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