edit tempdir

This commit is contained in:
jroam
2019-04-16 23:07:53 +08:00
parent bc870226e5
commit 9503b80d57
2 changed files with 4 additions and 1 deletions

View File

@ -47,6 +47,7 @@ func formatpath(paths string) string {
// 指定返回要测试的目录
func testpath() string {
return os.TempDir()
psths, err := filepath.Abs("./")
if err != nil {
return os.TempDir()

4
go.mod
View File

@ -1 +1,3 @@
module github.com/gogf/gf
module github.com/gogf/gf
go 1.12