From ae1a31f226de5701683231afaabf0f66503ca17d Mon Sep 17 00:00:00 2001 From: xengineering Date: Mon, 8 Jan 2024 19:36:01 +0100 Subject: Implement recipe editing --- model/data.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'model/data.go') diff --git a/model/data.go b/model/data.go index b5edd85..3e0e73d 100644 --- a/model/data.go +++ b/model/data.go @@ -3,3 +3,7 @@ package model type ReadableData interface { FromDB() error } + +type WritableData interface { + ToDB() error +} -- cgit v1.2.3-70-g09d2