diff --git a/project.go b/project.go index cd17347..502cf56 100644 --- a/project.go +++ b/project.go @@ -28,3 +28,13 @@ func (p *project) GetExecutablePath() (string, error) { } return dir, nil } + +// GetFileSystemSeparator 获取当前文件系统的路径分隔符 +// +// Author : go_developer@163.com<白茶清欢> +// +// Date : 12:51 2022/10/14 +func (p *project) GetFileSystemSeparator() string { + return string(filepath.Separator) +} +