mirror of
https://gitee.com/samwaf/SamWaf.git
synced 2026-10-31 10:11:42 +08:00
优化规则加载
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user