From b59be1a9d78da0ba4e7ac9d323b791882a424749 Mon Sep 17 00:00:00 2001 From: Sebastian Frank Date: Wed, 9 Feb 2022 20:33:13 +0100 Subject: [PATCH] db interface --- dbinterface.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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