Skip to content

Commit

Permalink
Added: constant for categories and actions
Browse files Browse the repository at this point in the history
  • Loading branch information
capricorn-32 committed Dec 11, 2024
1 parent 023b146 commit 5df775e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions models/events/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ import (
"github.com/gofrs/uuid"
)

const (
// Categories
CategoryPattern = "pattern"
CategorySystem = "system"

// Actions
ActionCreate = "create"
ActionDelete = "delete"
)

type EventBuilder struct {
event Event
}
Expand Down

0 comments on commit 5df775e

Please sign in to comment.