diff --git a/internal/corazarules/rule_match.go b/internal/corazarules/rule_match.go index 67f8f7dc1..5b6700ed4 100644 --- a/internal/corazarules/rule_match.go +++ b/internal/corazarules/rule_match.go @@ -33,27 +33,27 @@ type MatchData struct { var _ types.MatchData = (*MatchData)(nil) -func (m *MatchData) Variable() variables.RuleVariable { +func (m MatchData) Variable() variables.RuleVariable { return m.Variable_ } -func (m *MatchData) Key() string { +func (m MatchData) Key() string { return m.Key_ } -func (m *MatchData) Value() string { +func (m MatchData) Value() string { return m.Value_ } -func (m *MatchData) Message() string { +func (m MatchData) Message() string { return m.Message_ } -func (m *MatchData) Data() string { +func (m MatchData) Data() string { return m.Data_ } -func (m *MatchData) ChainLevel() int { +func (m MatchData) ChainLevel() int { return m.ChainLevel_ }