Documentation
¶
Index ¶
- func ClientOriginalExtension(file string) string
- func Contain(file string, search string) bool
- func Contains(file string, search string) bool
- func Copy(src, dst string) error
- func Create(file string, content string) error
- func Exists(file string) bool
- func Extension(file string, originalWhenUnknown ...bool) (string, error)
- func GetContent(file string) (string, error)
- func GetFrameworkContent(file string) (string, error)
- func GetPackageContent(pkgName, file string) (string, error)
- func LastModified(file, timezone string) (time.Time, error)
- func MimeType(file string) (string, error)
- func PutContent(file string, content string, options ...Option) error
- func Remove(file string) error
- func Size(file string) (int64, error)
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientOriginalExtension ¶
func Extension ¶
Extension Supported types: https://github.com/gabriel-vasile/mimetype/blob/master/supported_mimes.md
func GetContent ¶
func GetFrameworkContent ¶
func GetPackageContent ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.