change Error from struct to interface for package gvalid;error string update for package gdb

This commit is contained in:
John Guo
2021-05-18 20:51:31 +08:00
parent 0dfd968824
commit c8c28770fb
20 changed files with 175 additions and 63 deletions

View File

@ -0,0 +1,17 @@
package main
import (
"github.com/gogf/gf/frame/g"
"github.com/gogf/gf/net/ghttp"
)
func main() {
s := g.Server()
s.Group("/", func(group *ghttp.RouterGroup) {
group.ALL("/", func(r *ghttp.Request) {
r.Response.Write(r.GetMap())
})
})
s.SetPort(8199)
s.Run()
}