feat: add other type and func
This commit is contained in:
parent
a24db144ee
commit
47f14f94ab
@ -26,7 +26,15 @@ type Context = gin.Context
|
|||||||
|
|
||||||
type H = gin.H
|
type H = gin.H
|
||||||
|
|
||||||
|
const (
|
||||||
|
ReleaseMode = gin.ReleaseMode
|
||||||
|
DebugMode = gin.DebugMode
|
||||||
|
TestMode = gin.TestMode
|
||||||
|
)
|
||||||
|
|
||||||
var New = gin.New
|
var New = gin.New
|
||||||
|
var SetMode = gin.SetMode
|
||||||
|
var Mode = gin.Mode
|
||||||
|
|
||||||
func RunWeb(app *Engine, addr string) {
|
func RunWeb(app *Engine, addr string) {
|
||||||
if addr[0] == ':' {
|
if addr[0] == ':' {
|
||||||
|
Loading…
Reference in New Issue
Block a user