fix issue in router value retrieving for ghttp.Request

This commit is contained in:
John
2020-01-08 20:00:42 +08:00
parent 81fd3d06bb
commit f3a208f02f
2 changed files with 12 additions and 10 deletions

View File

@ -1,14 +1,14 @@
package main
import "fmt"
import (
"github.com/gogf/gf/frame/g"
"github.com/gogf/gf/os/gfile"
)
func main() {
type User struct {
Id int
}
u1 := &User{1}
u2 := *u1
u2.Id = 2
fmt.Println(u1)
fmt.Println(u2)
g.Dump(gfile.ScanDirFile("/Users/john/Temp/test", "*", true))
//if err := gfile.ReplaceDir("gf-empty", "app", "/Users/john/Temp/test", "*.*", true); err != nil {
// glog.Fatal("content replacing failed,", err.Error())
//}
}