Documentation ¶
Index ¶
- func FileCreate(name string) error
- func FileExists(filename string) bool
- func FileOrDirExists(name string) bool
- func ReadBytes(filedat string) (content []byte, e string)
- func ReadGob(filePath string, object interface{}) error
- func ReadJson(file string, data interface{}) error
- func SaveStrFile(file, data string) error
- func TestOne()
- func WriteGob(filePath string, object interface{}) error
- func WriteJson(path string, jdata interface{}) error
- func WriteJsonIndented(path string, jdata interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileCreate ¶
func FileExists ¶
FileExists returns true if the filename exists and is not a directory.
func FileOrDirExists ¶
FileOrDirExists returns true if name exists as filename or directory.
func SaveStrFile ¶
func WriteJsonIndented ¶
WriteJsonIndent takes a struct and saves it indented to a json file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.