Documentation
¶
Index ¶
- func AddLine(line string, fileName string)
- func AddLineUnique(line string, fileName string)
- func AddLinesUnique(lines []string, filename string)
- func Bytes(fileName string) []byte
- func Exists(fileName string) bool
- func Lines(fileName string) []string
- func RemoveIfExists(fileName string)
- func StringToTempFile(s string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddLineUnique ¶
AddLineUnique adds the line to the file if it will be the only occurrence of the string.
func AddLinesUnique ¶
AddLinesUnique adds all lines to the file if each one will be the only occurrence of the string.
func RemoveIfExists ¶
func RemoveIfExists(fileName string)
func StringToTempFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.