Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMimeTypeByFileExt ¶
GetMimeTypeByFileExt returns a file's mime type based on the file extension (.jpg,.png, etc)
func SafeCastToString ¶
func SafeCastToString(v interface{}) string
SafeCastToString safely casts an interface to a string, otherwise it will return an empty string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.