summaryrefslogtreecommitdiff
path: root/model/object.go
blob: 63ef4196c1855a0908ba255efb3d915858d80bd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
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
}