feat: add other type and func

This commit is contained in:
tiglog 2023-08-16 07:05:17 +08:00
parent a24db144ee
commit 47f14f94ab

View File

@ -26,7 +26,15 @@ type Context = gin.Context
type H = gin.H
const (
ReleaseMode = gin.ReleaseMode
DebugMode = gin.DebugMode
TestMode = gin.TestMode
)
var New = gin.New
var SetMode = gin.SetMode
var Mode = gin.Mode
func RunWeb(app *Engine, addr string) {
if addr[0] == ':' {