12 lines
180 B
Go
12 lines
180 B
Go
package utils
|
|
|
|
import (
|
|
"github.com/iwind/TeaGo/Tea"
|
|
"path/filepath"
|
|
)
|
|
|
|
// 临时文件
|
|
func TmpFile(path string) string {
|
|
return filepath.Clean(Tea.TmpDir() + Tea.DS + path)
|
|
}
|