生成代码,逐步进行优化

This commit is contained in:
2021-06-04 10:04:37 +08:00
parent d6c11a5d93
commit a003612810
5 changed files with 117 additions and 9 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ import (
func main() {
appIns := hotime.Init("example/config/config.json")
appIns := hotime.Init("config/config.json")
//RESTfull接口适配
appIns.SetConnectListener(func(context *hotime.Context) bool {
if len(context.RouterString) < 2 || len(context.RouterString) > 3 ||