Documentation ¶
Index ¶
- func CsvOpenRead(fname string) (*csv.Reader, *os.File)
- func CsvOpenWriteBuf() *csv.Writer
- func CsvOpenWriteFile(fname string) (*csv.Writer, *os.File)
- func OverwriteCsv(fname string, data []string) (bool, string)
- func RemoveOldBackups(rawName string, max int)
- func RenameFile(oldPath, newPath string) bool
- func SaveToCsv(fname string, data [][]string)
- func SplitFilename(fileName string) (string, string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CsvOpenWriteBuf ¶
func OverwriteCsv ¶
OverwriteCsv a CSV file with new data; also create a backup file with date and .bak extension
func RemoveOldBackups ¶ added in v0.5.0
func RenameFile ¶
RenameFile rename a file; expects full path name for both args
func SplitFilename ¶
SplitFilename return the filename without extension and the extension (with leading dot)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.