mirror of
https://gitee.com/johng/gf.git
synced 2024-12-03 04:37:49 +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)
|
|
}
|