Documentation ¶
Index ¶
- func Copy(src string, dst string) error
- func CreateFile(filename string, src ...io.Reader) error
- func DeleteFile(filename string, delDir bool) error
- func Dir(filename string) string
- func Exists(path string) bool
- func Ext(path string) string
- func Filename(path string) string
- func GetFileContent(path string) ([]byte, error)
- func IsDir(path string) bool
- func Lower(s string) string
- func LowerFirst(s string) string
- func Mkdir(fpath string) error
- func Move(src string, dst string) error
- func NewFile(filename string) (*os.File, error)
- func RandomString(length int) string
- func Rename(src string, dst string) error
- func TempDir() string
- func Truncate(path string, size int) error
- func UpperFirst(s string) string
- func WriteFile(path string, content []byte) error
- type Empty
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteFile ¶ added in v0.1.9
DeleteFile delete file
func GetFileContent ¶
func RandomString ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.