upload

package
v0.0.0-...-c5e09a7 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckImage

func CheckImage(src string) error

CheckImage check if the file exists

func CheckImageExt

func CheckImageExt(fileName string) bool

CheckImageExt check image file ext

func CheckImageSize

func CheckImageSize(f multipart.File) bool

CheckImageSize check image size

func GetImageFullPath

func GetImageFullPath() string

GetImageFullPath get full save path

func GetImageFullUrl

func GetImageFullUrl(name string) string

GetImageFullUrl get the full access path

func GetImageName

func GetImageName(name string) string

GetImageName get image name

func GetImagePath

func GetImagePath() string

GetImagePath get save path

Types

This section is empty.

Jump to

Keyboard shortcuts

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