mirror of
https://gitee.com/johng/gf
synced 2026-06-06 16:21:40 +08:00
17 lines
370 B
Go
17 lines
370 B
Go
package main
|
|
|
|
import (
|
|
"github.com/gogf/gf/os/gres"
|
|
_ "github.com/gogf/gf/os/gres/testdata"
|
|
)
|
|
|
|
func main() {
|
|
gres.Dump()
|
|
//file := gres.Get("www")
|
|
//fmt.Println(file.Open())
|
|
//g.Dump(gres.ScanDir("/root/image", "*"))
|
|
//g.Dump(gres.Scan("/root/image/", "*", true))
|
|
//g.Dump(gres.Scan("/template", "*"))
|
|
//g.Dump(gres.Scan("/template/layout2", "*.html", true))
|
|
}
|