Documentation ¶
Index ¶
- func Exists(filePath string) (bool, error)
- func FileContains(filePath string, str string) (bool, error)
- func FileLinesCounter(filePath string) (int, error)
- func FileMix(filePath string, start string, end string, betweenWords string) (string, error)
- func FileMixRegExp(filePath string, start string, end string, betweenWords string) (string, error)
- func Flush(filePath string, str string) error
- func GetStringInBetween(str string, homeChar string, endChar string) (string, bool, error)
- func Random(min int, max int) int
- func RandomFileLine(filePath string) (string, error)
- func SpecifyLineByNumber(filePath string, specifyLine int) (string, error)
- func SpecifyLineByText(filePath string, str string) (string, error)
- func StringMix(text string, start string, end string, betweenWords string) (string, error)
- func StringMixWithRegExp(text string, start string, end string, betweenWords string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileContains ¶
FileContains check that string exist in file
func FileLinesCounter ¶
FileLinesCounter counts lines of file
func FileMixRegExp ¶
FileMixRegExp return combine text from file
func GetStringInBetween ¶
GetStringInBetween return string between two characters
func RandomFileLine ¶
RandomFileLine return random line in file
func SpecifyLineByNumber ¶
SpecifyLineByNumber return specific text of line in file
func SpecifyLineByText ¶
SpecifyLineByText return specific text of line in file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.