Documentation ¶
Index ¶
- func ClientOriginalExtension(file string) string
- func Contain(file string, search string) bool
- func Create(file string, content string) error
- func Exists(file string) bool
- func Extension(file string, originalWhenUnknown ...bool) (string, error)
- func LastModified(file, timezone string) (time.Time, error)
- func MimeType(file string) (string, error)
- func Remove(file string) bool
- func Size(file string) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientOriginalExtension ¶ added in v1.5.0
func Extension ¶ added in v1.5.0
Extension Supported types: https://github.com/gabriel-vasile/mimetype/blob/master/supported_mimes.md
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.