feat: update changes, race condition check on version, put -> patch
This commit is contained in:
@@ -9,6 +9,7 @@ import (
|
||||
// looking up a movie that doesn't exist in our database.
|
||||
var (
|
||||
ErrRecordNotFound = errors.New("record not found")
|
||||
ErrEditConflict = errors.New("edit conflict")
|
||||
)
|
||||
|
||||
// Create a Models struct which wraps the MovieModel. We'll add other models to this,
|
||||
|
||||
Reference in New Issue
Block a user