默认的测试项目

This commit is contained in:
Liang Ding 2014-09-17 16:27:45 +08:00
parent 3b5ce0c3ec
commit 7abb8b978c
4 changed files with 44 additions and 1 deletions

2
.gitignore vendored
View File

@ -7,4 +7,4 @@
/data/user_workspaces/*/bin/
/data/user_workspaces/*/pkg/
/data/user_workspaces/*/src/
/data/user_workspaces/*/src/**/*.exe

View File

@ -0,0 +1,9 @@
package main
import (
"fmt"
)
func main() {
fmt.Println("Hello, ÊÀ½ç")1
}

View File

@ -0,0 +1,17 @@
package main
import (
"fmt"
"mytest/time/pkg"
"time"
)
func main() {
for i := 0; i < 5; i++ {
fmt.Println("Hello, 世界", pkg.Now())
time.Sleep(time.Second)
time.
}
}

View File

@ -0,0 +1,17 @@
package pkg
import (
"time"
)
func Now() time.Time {
return time.Now()
}
func Now1() time.Time {
return time.Now()
}
func Now2() {
}