增加构建wenjian路径方法

This commit is contained in:
2022-10-14 13:46:33 +08:00
parent 63f5b99d40
commit 9931590d80
2 changed files with 47 additions and 1 deletions

View File

@@ -15,3 +15,9 @@ import (
func Test_project_GetExecutablePath(t *testing.T) {
fmt.Println(Project.GetExecutablePath())
}
func Test_project_BuildPath(t *testing.T) {
fmt.Println(Project.GetExecutablePath())
fmt.Println(Project.BuildPath("a", "b", "c"))
fmt.Println(Project.BuildPath("\\a\\", "\\b\\", "\\c\\"))
}