1
0
mirror of https://github.com/astaxie/beego.git synced 2024-07-03 05:14:13 +00:00
Beego/utils/file.go

12 lines
127 B
Go
Raw Normal View History

2013-12-09 05:30:19 +00:00
package utils
import (
"os"
"path/filepath"
)
func SelfPath() string {
path, _ := filepath.Abs(os.Args[0])
return path
}