mirror of https://github.com/perkeep/perkeep.git
gofmt handlers
This commit is contained in:
parent
b887087606
commit
a6d3151645
|
@ -95,7 +95,7 @@ func handleEnumerateBlobs(conn http.ResponseWriter, req *http.Request, storage b
|
||||||
blobch := make(chan blobref.SizedBlobRef, 100)
|
blobch := make(chan blobref.SizedBlobRef, 100)
|
||||||
resultch := make(chan error, 1)
|
resultch := make(chan error, 1)
|
||||||
go func() {
|
go func() {
|
||||||
resultch <- storage.EnumerateBlobs(blobch, formValueAfter, limit+1, time.Duration(waitSeconds) * time.Second)
|
resultch <- storage.EnumerateBlobs(blobch, formValueAfter, limit+1, time.Duration(waitSeconds)*time.Second)
|
||||||
}()
|
}()
|
||||||
|
|
||||||
after := ""
|
after := ""
|
||||||
|
|
|
@ -17,12 +17,13 @@ limitations under the License.
|
||||||
package handlers
|
package handlers
|
||||||
|
|
||||||
import (
|
import (
|
||||||
. "camlistore.org/pkg/test/asserts"
|
|
||||||
"camlistore.org/pkg/blobref"
|
|
||||||
"net/http"
|
"net/http"
|
||||||
"net/http/httptest"
|
"net/http/httptest"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"camlistore.org/pkg/blobref"
|
||||||
|
. "camlistore.org/pkg/test/asserts"
|
||||||
)
|
)
|
||||||
|
|
||||||
type emptyEnumerator struct {
|
type emptyEnumerator struct {
|
||||||
|
|
Loading…
Reference in New Issue