utils

package
v1.4.8 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base64ToImage

func Base64ToImage(b64Str, dst string) error

Base64ToImage base64转图片 b64Str base64字符串 dst 图片保存路径

func CheckFolderExists

func CheckFolderExists(path string) error

CheckFolderExists 检查文件夹是否存在,如果不存在则创建

func CheckPathExists

func CheckPathExists(path string) bool

CheckPathExists 判断文件/文件夹是否存在

func IsImageFile added in v1.4.6

func IsImageFile(path string) bool

IsImageFile 判断文件是否存在,如果存在是否为图片类型

Types

This section is empty.

Jump to

Keyboard shortcuts

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