util/project_test.go

28 lines
558 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\\"))
}
func Test_project_GetGetProjectPath(t *testing.T) {
fmt.Println(Project.GetProjectPath())
}