完善docker部署和readme

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

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) {