common

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: MIT Imports: 12 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)

func ScannerF added in v0.0.7

func ScannerF(fn func() string) string

func Start added in v0.0.6

func Start(prefix string)

func Stop added in v0.0.6

func Stop()

Types

This section is empty.

Jump to

Keyboard shortcuts

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