feat: update changes, race condition check on version, put -> patch

This commit is contained in:
2026-03-17 16:26:33 +01:00
parent bcf16bc4c6
commit 973a9e341d
10 changed files with 67 additions and 25 deletions
@@ -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,