Cleanup

parent b94a6236
......@@ -2,13 +2,13 @@ package mount_test
import (
"errors"
"github.com/ipfs/go-datastore/sync"
"testing"
"github.com/ipfs/go-datastore"
"github.com/ipfs/go-datastore/mount"
"github.com/ipfs/go-datastore/query"
"github.com/ipfs/go-datastore/test"
datastore "github.com/ipfs/go-datastore"
mount "github.com/ipfs/go-datastore/mount"
query "github.com/ipfs/go-datastore/query"
sync "github.com/ipfs/go-datastore/sync"
dstest "github.com/ipfs/go-datastore/test"
)
func TestPutBadNothing(t *testing.T) {
......
......@@ -3,7 +3,7 @@ package query
import (
"time"
"github.com/jbenet/goprocess"
goprocess "github.com/jbenet/goprocess"
)
/*
......
package query
import (
"sort"
)
import "sort"
func DerivedResults(qr Results, ch <-chan Result) Results {
return &results{
......@@ -124,7 +122,6 @@ func NaiveQueryApply(q Query, qr Results) Results {
qr = NaiveOffset(qr, q.Offset)
}
if q.Limit != 0 {
// TODO: Offset?
qr = NaiveLimit(qr, q.Limit)
}
return qr
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment