优化规则加载

This commit is contained in:
samwaf
2022-10-11 16:55:11 +08:00
parent db28bf001a
commit 66e28b35e1
8 changed files with 226 additions and 41 deletions
+1
View File
@@ -22,6 +22,7 @@ type MyFact struct {
}
func (mf *MyFact) GetWhatToSay(sentence string) string {
log.Println("Let say " + sentence)
return fmt.Sprintf("Let say \"%s\"", sentence)
}