Closed BalaMahesh closed 2 months ago
Sorry about that. There was some issues in the example. I just updated it and it should work.
the rule should be Unmarshaled before its added. And has to be a valid JSON
var ruleMap map[string]interface{}
if err := json.Unmarshal(rule, &ruleMap); err != nil {
panic(err)
}
Hello,
I am trying to run the example in my local set up.
and getting this error