fileutil

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileExist

func FileExist(filePath string) bool

FileExist 通过文件路径判断该文件是否存在

func GetFileType

func GetFileType(filePath string) (string, error)

GetFileType 获取文件类型(简单文件),暂不可用

func SaveImageToCurrentDir added in v0.2.0

func SaveImageToCurrentDir(img image.Image, fileName string) error

SaveImageToCurrentDir 保存 image.Image 类型文件到当前目录

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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