流程控制处理器
This commit is contained in:
parent
055fa24333
commit
73705337cc
1 changed files with 8 additions and 3 deletions
|
|
@ -36,9 +36,17 @@ func init() {
|
|||
gou.RegisterProcessHandler("xiang.helper.JwtValidate", ProcessJwtValidate)
|
||||
|
||||
gou.RegisterProcessHandler("xiang.helper.For", ProcessFor)
|
||||
gou.AliasProcess("xiang.helper.For", "xiang.flow.For")
|
||||
gou.RegisterProcessHandler("xiang.helper.Each", ProcessEach)
|
||||
gou.AliasProcess("xiang.helper.Each", "xiang.flow.Each")
|
||||
gou.RegisterProcessHandler("xiang.helper.Case", ProcessCase)
|
||||
gou.AliasProcess("xiang.helper.Case", "xiang.flow.Case")
|
||||
gou.RegisterProcessHandler("xiang.helper.IF", ProcessIF)
|
||||
gou.AliasProcess("xiang.helper.IF", "xiang.flow.IF")
|
||||
gou.RegisterProcessHandler("xiang.helper.Throw", ProcessThrow)
|
||||
gou.AliasProcess("xiang.helper.Throw", "xiang.flow.Throw")
|
||||
gou.RegisterProcessHandler("xiang.helper.Return", ProcessReturn)
|
||||
gou.AliasProcess("xiang.helper.Return", "xiang.flow.Return")
|
||||
|
||||
gou.RegisterProcessHandler("xiang.helper.EnvSet", ProcessEnvSet)
|
||||
gou.AliasProcess("xiang.helper.EnvSet", "xiang.env.Set")
|
||||
|
|
@ -52,9 +60,6 @@ func init() {
|
|||
gou.RegisterProcessHandler("xiang.helper.Print", ProcessPrint)
|
||||
gou.AliasProcess("xiang.helper.Print", "xiang.sys.Print")
|
||||
|
||||
gou.RegisterProcessHandler("xiang.helper.Throw", ProcessThrow)
|
||||
gou.RegisterProcessHandler("xiang.helper.Return", ProcessReturn)
|
||||
|
||||
}
|
||||
|
||||
// ProcessPrint xiang.helper.Print 打印语句
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue