完善docker部署和readme

This commit is contained in:
dushixiang committed 2020-12-25 19:42:26 +08:00
1 parent 6c7cb6b0e7
commit bbd7eef0e1
14 files changed
+112 -30

No files matched your search

+1 -1
View File
@@ -82,7 +82,7 @@ func Tcping(ip string, port int) bool {
}
// 判断所给路径文件/文件夹是否存在
func Exists(path string) bool {
func FileExists(path string) bool {
_, err := os.Stat(path) //os.Stat获取文件信息
if err != nil {
if os.IsExist(err) {