determine returnal
This commit is contained in:
@@ -8,8 +8,8 @@ type DBObject interface {
|
||||
|
||||
type Accessor interface {
|
||||
SetLogger()
|
||||
LoadOne(id string) DBObject
|
||||
DeleteOne(id string) DBObject
|
||||
StoreOne(data DBObject) DBObject
|
||||
UpdateOne(set map[string]interface{}, id string) DBObject
|
||||
LoadOne(id string) (DBObject, error)
|
||||
DeleteOne(id string) (DBObject, error)
|
||||
StoreOne(data DBObject) (DBObject, error)
|
||||
UpdateOne(set map[string]interface{}, id string) (DBObject, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user