Skip to content

This project is a Go library that implements a reactive and embeddable rules engine

License

Notifications You must be signed in to change notification settings

darksubmarine/goldfish-re

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Goldfish-RE

Goldfish-RE Build and Tests Go Report Card GoDoc Release

Reactive and Embeddable rules engine library written in pure Go!.

This rules engine has been thought to trigger automatically an event letting you know that a condition from your ruleset has been satisfied by some updated fact into your context.

The evaluation algorithm is RETE based with focus on evaluation and memory using a Trie struct to improve its performance.

Supported data types

The rule engines expose different data types to work with:

  • String: This is a well known string type
  • Number: A number is a representation of an integer value. In this case is a wrapper for a int64 data type
  • Float: Floats are also numeric types. They represent the decimal numbers implemented as float64
  • Boolean: The boolean are useful to assert a condition as true or false
  • Date: Represents a time.Time data type

For more details, please read the documentation

Installation

To install the library into your project please run:

go install github.com/darksubmarine/goldfish-re

Examples

License

Apache License

About

This project is a Go library that implements a reactive and embeddable rules engine

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •