diff options
Diffstat (limited to 'model/data.go')
-rw-r--r-- | model/data.go | 4 |
1 files changed, 4 insertions, 0 deletions
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 +} |