Implement rule matching for a couple of basic rule types.

This commit is contained in:
Anna Rose Wiggins 2025-07-01 17:49:23 -04:00
parent 5b3b70da14
commit 970b3ded6e
3 changed files with 64 additions and 15 deletions

View file

@ -9,6 +9,10 @@ func Log(msg string) {
fmt.Println(msg)
}
func Logf(msg string, params ...interface{}) {
fmt.Printf(msg, params...)
}
func LogError(err error, msg string) {
if msg == "" {
fmt.Printf("%s\n", err.Error())