Versions in this module Expand all Collapse all v0 v0.0.7 Dec 9, 2021 Changes in this version + func Copy(src, dst string) error + func GetCurrentDir() string + func GetFileDir(filepath string) string + func GetFileExt(file string) string + func GetFileName(filepath string) string + func GetFileNameWithoutExt(filepath string) string + func GetFilePathWithoutExt(filepath string) string + func GetHomeDir() string + func IsDir(filepath string) bool + func IsExist(filepath string) bool + func IsFile(filepath string) bool + func IsImage(filepath string) bool + func LineContent(filepath string, numbers ...int) map[int]string + func LineCount(filepath string) (count int) + func ListFiles(dir string, match string, recurse ...bool) []string + func MineType(filepath string) string + func Read(filepath string) string + func ReadJSON(filepath string, data interface{}) error + func ReaderMineType(r io.Reader) string + func Size(filepath string) int64 + func SizeText(size int64) string + func Write(filepath, str string) error + func WriteJSON(filepath string, data interface{}) error