package model type ReadableData interface { FromDB() error } type WritableData interface { ToDB() error }