diff --git a/dbinterface.go b/dbinterface.go index 1b26f39..7185806 100644 --- a/dbinterface.go +++ b/dbinterface.go @@ -2,7 +2,6 @@ package mgoapi import ( "gitbase.de/gopackage/mgocrud/v2" - "gopkg.in/mgo.v2" "gopkg.in/mgo.v2/bson" ) @@ -56,9 +55,7 @@ type Query interface { Count() (int, error) } -type Index interface { - NewMgoIndex(index mgo.Index) Index -} +type Index interface{} type Pipe interface { All(result interface{}) error