mirror of
https://gitee.com/johng/gf
synced 2026-06-07 02:12:11 +08:00
fix issue in gconv.Interfaces; improve storage interface for gsession
This commit is contained in:
@ -12,11 +12,9 @@ func main() {
|
||||
// 开启调试模式,以便于记录所有执行的SQL
|
||||
db.SetDebug(true)
|
||||
|
||||
fmt.Println(time.Now())
|
||||
r, e := db.Table("user").Data(g.Map{
|
||||
"passport": "1",
|
||||
"password": "1",
|
||||
"nickname": "1",
|
||||
"create_time": time.Now(),
|
||||
"create_time": time.Now().Local(),
|
||||
}).Insert()
|
||||
if e != nil {
|
||||
panic(e)
|
||||
|
||||
Reference in New Issue
Block a user