Documentation
¶
Index ¶
- func FileExist(path string) bool
- func FnvHash(data []byte) uint32
- func GetFileInfo(path string) ([]byte, error)
- func MD5Hash(data []byte) string
- func ReadBytesFromFile(file string) ([]byte, error)
- func ReadNoStringFromFile(file string) (string, error)
- func ReadStringFromFile(file string) (string, error)
- func SHA1Hash(data []byte) string
- func WriteConfig(path string, data []byte) error
- type FileInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadNoStringFromFile ¶
read non empty string from file
func ReadStringFromFile ¶
read string from file
Types ¶
Click to show internal directories.
Click to hide internal directories.