Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelavila committed Mar 22, 2019
1 parent b94a623 commit 340ca11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion query/query.go
Expand Up @@ -3,7 +3,7 @@ package query
import (
"time"

"github.com/jbenet/goprocess"
goprocess "github.com/jbenet/goprocess"
)

/*
Expand Down
5 changes: 1 addition & 4 deletions query/query_impl.go
@@ -1,8 +1,6 @@
package query

import (
"sort"
)
import "sort"

func DerivedResults(qr Results, ch <-chan Result) Results {
return &results{
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 340ca11

Please sign in to comment.