Simply backend interface

Rename CreateBlob() method to Create(), remove old Create* methods
This commit is contained in:
Alexander Neumann 2015-02-15 17:26:08 +01:00
parent 35636a9d92
commit 72c951a6ec
6 changed files with 82 additions and 210 deletions

View file

@ -38,9 +38,7 @@ type Getter interface {
}
type Creater interface {
Create(Type, []byte) (ID, error)
CreateFrom(Type, io.Reader) (ID, error)
CreateBlob(Type) (Blob, error)
Create(Type) (Blob, error)
}
type Tester interface {