refactor: remove feedback
- removed for now so I can focus on the primary objectives
This commit is contained in:
parent
cb9cc47245
commit
7ed1e05284
3 changed files with 0 additions and 84 deletions
|
|
@ -1,14 +0,0 @@
|
|||
package training
|
||||
|
||||
import "github.com/google/uuid"
|
||||
|
||||
type FeedbackID uuid.UUID
|
||||
|
||||
type Feedback struct {
|
||||
ID FeedbackID
|
||||
AttendeeID AttendeeID
|
||||
Rating int
|
||||
Comment string
|
||||
IsAnonymous bool
|
||||
IsSharingAllowed bool
|
||||
}
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
package training
|
||||
|
||||
type FeedbackRepository interface {
|
||||
Get(FeedbackID) (*Feedback, error)
|
||||
FindAll() ([]Feedback, error)
|
||||
Create(*Feedback) error
|
||||
Update(*Feedback) error
|
||||
Delete(FeedbackID) error
|
||||
}
|
||||
Reference in a new issue