Author: Michael Lynch <git@mtlynch.io>
Committer: Michael Lynch <mtlynch@noreply.codeberg.org>
Add ItemName type for validated grocery item names (#58) Introduces a typed ItemName struct in types/grocery.go that rejects empty or whitespace-only names and strips leading/trailing whitespace. Changes GroceryItem.Name from string to ItemName and updates all references in the sqlite store. Adds unit tests. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Reviewed-on: https://codeberg.org/mtlynch/grosiree/pulls/58 Co-authored-by: Michael Lynch <git@mtlynch.io> Co-committed-by: Michael Lynch <git@mtlynch.io>