Commit 93ab652f authored by rht's avatar rht

Run 'gofmt -s -w' on these files

parent 1e0db6da
...@@ -181,7 +181,7 @@ func (ds *dagService) GetNodes(ctx context.Context, keys []u.Key) []NodeGetter { ...@@ -181,7 +181,7 @@ func (ds *dagService) GetNodes(ctx context.Context, keys []u.Key) []NodeGetter {
promises := make([]NodeGetter, len(keys)) promises := make([]NodeGetter, len(keys))
sendChans := make([]chan<- *Node, len(keys)) sendChans := make([]chan<- *Node, len(keys))
for i, _ := range keys { for i := range keys {
promises[i], sendChans[i] = newNodePromise(ctx) promises[i], sendChans[i] = newNodePromise(ctx)
} }
......
...@@ -132,7 +132,7 @@ func SubtestNodeStat(t *testing.T, n *Node) { ...@@ -132,7 +132,7 @@ func SubtestNodeStat(t *testing.T, n *Node) {
type devZero struct{} type devZero struct{}
func (_ devZero) Read(b []byte) (int, error) { func (_ devZero) Read(b []byte) (int, error) {
for i, _ := range b { for i := range b {
b[i] = 0 b[i] = 0
} }
return len(b), nil return len(b), nil
......
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