希曼日记

判断操作系统路径

sysType := runtime.GOOS
if sysType == "windows" {
	filepath.ToSlash(WorkPath)
} else if sysType == "linux" {
	filepath.FromSlash(WorkPath)
}