Categorygithub.com/abusizhishen/ruleEngine
modulepackage
0.0.2-visitor
Repository: https://github.com/abusizhishen/ruleengine.git
Documentation: pkg.go.dev

# README

规则引擎

运行方式

  • api方式,参照 cmd/api/api.go中所示
    • 提供接口添加规则
    • 提供接口输入参数并进行计算输出结果
  • 内嵌到程序中

运算

  • 算术运算 加减乘除
    • float64 op float64
  • 比较操作 >、>=、==、<=、<
  • 逻辑运算 &&、||、!

语句

  • if、elsif、else
  • return

数据类型

  • bool
  • string
  • number
    • float64
  • struct
  • map
  • array

开发工具

  • goland
  • go
  • antlr

# Packages

No description provided by the author
No description provided by the author
No description provided by the author