Finally functional

This commit is contained in:
Ben 2025-07-28 22:35:06 -07:00
parent be8936a665
commit b673c640e4
Signed by: webmaster
GPG key ID: A5FCBAF34E6E8B50
12 changed files with 261 additions and 113 deletions

View file

@ -8,7 +8,7 @@ import (
)
/* Unmarshals a JSON into a recursive map. Returns nil on error */
func unmarshalJSON(marshaledJSON []byte) (unmarshaled any) {
func UnmarshalJSON(marshaledJSON []byte) (unmarshaled any) {
json.Unmarshal(marshaledJSON, &unmarshaled);
return;
}
@ -55,6 +55,6 @@ func match(request any, filter any) bool {
return true;
// Otherwise compare the objects directly using reflect
default: return reflect.DeepEqual(request, filter)
default: return reflect.DeepEqual(request, filter);
}
}