1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-04 02:50:19 +00:00

initial utils dir

This commit is contained in:
skyblue
2013-12-09 13:30:19 +08:00
parent 4fa625dea6
commit 830ccb6660
2 changed files with 24 additions and 0 deletions

13
utils/file_test.go Normal file
View File

@ -0,0 +1,13 @@
package utils
import (
"testing"
)
func TestSelfPath(t *testing.T) {
path := SelfPath()
if path == "" {
t.Error("path cannot be empty")
}
t.Logf("SelfPath: %s", path)
}