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)
|
||||
resultch := make(chan error, 1)
|
||||
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 := ""
|
||||
|
|
|
@ -17,12 +17,13 @@ limitations under the License.
|
|||
package handlers
|
||||
|
||||
import (
|
||||
. "camlistore.org/pkg/test/asserts"
|
||||
"camlistore.org/pkg/blobref"
|
||||
"net/http"
|
||||
"net/http/httptest"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"camlistore.org/pkg/blobref"
|
||||
. "camlistore.org/pkg/test/asserts"
|
||||
)
|
||||
|
||||
type emptyEnumerator struct {
|
||||
|
|
Loading…
Reference in New Issue