Documentation ¶
Index ¶
- func ChangeFileExt(sfile string, newext string) string
- func CopyFile(src, dst string) (int, error)
- func FileExists(filename string) bool
- func Gunzip(data *string) ([]byte, error)
- func GunzipBytes(src *[]byte, dst *[]byte) error
- func GunzipFile(fromFile string, toFile string) error
- func Gzip(data *[]byte) (string, error)
- func GzipBytes(data *[]byte) []byte
- func GzipFile(fileName string) (bool, error)
- func LoadFiles(path, match string) (*[]FileInfo, error)
- func LoadStructFromFile(sFile string, v interface{}, fu FuncUnMarshal) error
- func MoveFile(src string, dst string) error
- func SaveStructToFile(sFile string, v interface{}, fu FuncMarshal) error
- func StartProc(args ...string) (p *os.Process, err error)
- type FileData
- type FileInfo
- type FuncMarshal
- type FuncUnMarshal
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeFileExt ¶ added in v1.9.19
ChangeFileExt #
func GunzipFile ¶ added in v1.7.8
GunzipFile #
func LoadStructFromFile ¶ added in v1.9.38
func LoadStructFromFile(sFile string, v interface{}, fu FuncUnMarshal) error
LoadStructFromFile #
func SaveStructToFile ¶ added in v1.9.38
func SaveStructToFile(sFile string, v interface{}, fu FuncMarshal) error
SaveStructToFile #
Types ¶
type FuncMarshal ¶ added in v1.9.38
FuncMarshal #
type FuncUnMarshal ¶ added in v1.9.38
FuncUnMarshal #
Click to show internal directories.
Click to hide internal directories.