diff options
Diffstat (limited to 'model')
-rw-r--r-- | model/object.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/model/object.go b/model/object.go new file mode 100644 index 0000000..63ef419 --- /dev/null +++ b/model/object.go @@ -0,0 +1,12 @@ +package model + +import ( + "database/sql" +) + +type Object interface { + Create(tx *sql.Tx) error + Read(tx *sql.Tx) error + Update(tx *sql.Tx) error + Delete(tx *sql.Tx) error +} |