Skip to content

Commit

Permalink
Change the param name for CreateTask
Browse files Browse the repository at this point in the history
  • Loading branch information
claudealdric committed Sep 16, 2024
1 parent 8ccef36 commit 575e6c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
var ErrResourceNotFound = errors.New("resource not found")

type Store interface {
CreateTask(task models.CreateTaskDTO) (models.Task, error)
CreateTask(dto models.CreateTaskDTO) (models.Task, error)
DeleteTaskById(id int) error
GetTaskById(id int) (models.Task, error)
GetTasks() ([]models.Task, error)
Expand Down

0 comments on commit 575e6c6

Please sign in to comment.