common

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ExtError = color.RedString("文件格式错误,请重新输入,支持的格式有:%s", "jpg, jpeg, png")

Functions

func Identify

func Identify(ext string) bool

func PostWithMultipart

func PostWithMultipart(url, name, value string, file *os.File) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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