24 lines
464 B
Go
24 lines
464 B
Go
// Package util ...
|
|
//
|
|
// Description : util ...
|
|
//
|
|
// Author : go_developer@163.com<白茶清欢>
|
|
//
|
|
// Date : 2022-10-14 12:47
|
|
package util
|
|
|
|
import (
|
|
"fmt"
|
|
"testing"
|
|
)
|
|
|
|
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\\"))
|
|
}
|