From defc4596cf47fbf9593df2f52012e4302806c80c Mon Sep 17 00:00:00 2001 From: softlandia Date: Thu, 4 Apr 2019 02:36:18 +0400 Subject: [PATCH] update README --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index bf9f172..6aeaa04 100644 --- a/README.md +++ b/README.md @@ -20,16 +20,13 @@ install: go install 6. CodePageDetect(fn string) (int, error) 7. ConvertStrCodePage(s string, fromCP, toCP int64) (string, error) -wfcp - sample of using function CodePageDetect() -test - sample of using SeekFileToString() - ## description ## func FileExists(name string) bool -return true if file exist + return true if file exist func StrContainBackSlash(s string) bool -return true if last char in string s == '\' + return true if string s consist rune back slash '\' func StrIsPrintRune(s string) bool return true if input string consists only of printable rune @@ -47,3 +44,7 @@ if string stopStr is present then input file scanned befor appearance stopStr func ConvertStrCodePage(s string, fromCP, toCP int64) (string, error) convert string from one code page to another + + + func FindFilesExt(fileList *[]string, path, fileNameExt string) (int, error) +search in path files with extention == fielNameExt and put file name to slice fileList