mirror of
https://gitee.com/johng/gf
synced 2026-07-07 06:15:15 +08:00
14 lines
211 B
Go
14 lines
211 B
Go
package main
|
|
|
|
import (
|
|
"github.com/gogf/gf/.example/frame/mvc/model/test"
|
|
"github.com/gogf/gf/frame/g"
|
|
)
|
|
|
|
func main() {
|
|
g.DB().SetDebug(true)
|
|
user, err := test.ModelUser().One()
|
|
g.Dump(err)
|
|
g.Dump(user)
|
|
}
|