Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckExists ¶
Checks if the filename already exists in a directory.
NOTE: THIS IS GLOB-LIKE AND WILL CHECK IF THE DIRECTORY CONTAINS A FILE, WHICH CONTAINS THE "name" STRING. IT IS EXPLICITLY MADE TO BE USED BY THE goimage PROGRAM
func GetFileExt ¶
Gets the file extension from the specified string
NOTE: CHECKS A VERY SPECIFIC STRING (http.Request FileForm handler.Header["Content-Disposition"][0]) AND IT IS EXPLICITLY USED TO BE USED BY THE goimage PROGRAM
func GetFileExtFromDir ¶
This function reads a directory, and gets the extension from the file which matches the name string (Glob code: *name*). Returns empty string on no results.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.