Skip to content

Commit

Permalink
🚚 chore(event.go): import common package from a new location
Browse files Browse the repository at this point in the history
👥 refactor(event.go): add common field to Event struct to include common fields in all events
  • Loading branch information
thalesfsp committed May 23, 2023
1 parent b8c2707 commit e338f48
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions event/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package event

import (
"github.com/thalesfsp/go-common-types/safeorderedmap"
"github.com/thalesfsp/params/common"
"github.com/thalesfsp/questionnaire/answer"
"github.com/thalesfsp/questionnaire/question"
"github.com/thalesfsp/questionnaire/questionnaire"
Expand All @@ -14,6 +15,8 @@ import (

// Event emitted every time the state of the questionnaire changes.
type Event struct {
common.Common `bson:",inline"`

//////
// Metadata.
//////
Expand Down

0 comments on commit e338f48

Please sign in to comment.