refactor: repository pattern: rename Save() to Create()
This commit is contained in:
parent
ab4226561b
commit
cb9cc47245
8 changed files with 8 additions and 8 deletions
|
|
@ -1,7 +1,7 @@
|
|||
package training
|
||||
|
||||
type Repository interface {
|
||||
Save(*Training) error
|
||||
Create(*Training) error
|
||||
Get(ID) (*Training, error)
|
||||
Update(*Training) error
|
||||
Delete(ID) error
|
||||
|
|
|
|||
Reference in a new issue