mirror of
https://gitee.com/johng/gf.git
synced 2024-12-10 17:02:31 +08:00
11 lines
190 B
Go
11 lines
190 B
Go
package main
|
|
import (
|
|
"fmt"
|
|
"gitee.com/johng/gf/g/frame/ginstance"
|
|
)
|
|
|
|
func main() {
|
|
db := ginstance.Database()
|
|
list, _ := db.Table("test").Select()
|
|
fmt.Println(list[0])
|
|
} |