Documentation
¶
Index ¶
- func CheckImage(src string) error
- func CheckImageExt(fileName string) bool
- func CheckImageSize(f multipart.File) bool
- func CheckImageSize2(f *multipart.FileHeader) bool
- func GetImageFullPath() string
- func GetImageFullUrl(name string) string
- func GetImageName(name string) string
- func GetImagePath() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckImageSize2 ¶
func CheckImageSize2(f *multipart.FileHeader) bool
CheckImageSize check image size
func GetImageFullUrl ¶
GetImageFullUrl get the full access path
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.