Versions in this module Expand all Collapse all v0 v0.0.2 Dec 15, 2023 Changes in this version + func Copy(src, dst string) error + 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 IsDir(filepath string) bool + func IsExist(filepath string) bool + func IsFile(filepath string) bool + func IsImage(filepath string) bool + func LineCount(filepath string) int + func Md5(path string) (string, error) + 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{}, pretty ...bool) error