add ci for golang v1.14

This commit is contained in:
John
2020-02-26 11:54:46 +08:00
parent 7acf16fdba
commit 6317d9de53
3 changed files with 29 additions and 9 deletions

View File

@ -0,0 +1,18 @@
package main
import (
"fmt"
"github.com/gogf/gf/frame/g"
"time"
)
func main() {
db := g.DB()
db.SetDebug(true)
for {
r, err := db.Table("user").All()
fmt.Println(err)
fmt.Println(r)
time.Sleep(time.Second * 10)
}
}