From 63f5b99d40dd189126877dd8b9e6d82484ee5353 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Fri, 14 Oct 2022 12:53:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=8E=B7=E5=8F=96=E5=BD=93?= =?UTF-8?q?=E5=89=8D=E6=96=87=E4=BB=B6=E7=B3=BB=E7=BB=9F=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E5=88=86=E9=9A=94=E7=AC=A6=E7=9A=84=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project.go | 10 ++++++++++ 1 file changed, 10 insertions(+) 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) +} +