feat: add pkg/training/ with types, structs, and repository interfaces
This commit is contained in:
parent
afe0f18523
commit
00158e89fe
9 changed files with 113 additions and 0 deletions
9
pkg/training/feedback_repository.go
Normal file
9
pkg/training/feedback_repository.go
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
package training
|
||||
|
||||
type FeedbackRepository interface {
|
||||
Get(FeedbackID) (*Feedback, error)
|
||||
FindAll() ([]Feedback, error)
|
||||
Save(*Feedback) error
|
||||
Update(*Feedback) error
|
||||
Delete(FeedbackID) error
|
||||
}
|
||||
Reference in a new issue