go fmt'ed.

This commit is contained in:
Sascha L. Teichmann 2014-08-19 12:23:33 +02:00
parent c14e7c3dd0
commit 0b96dda52c

View File

@ -5,8 +5,9 @@
package main package main
import ( import (
"fmt" "fmt"
"bitbucket.org/s_l_teichmann/mtredisalize/common"
"bitbucket.org/s_l_teichmann/mtredisalize/common"
) )
var NoMoreBlocksErr = fmt.Errorf("No more blocks.") var NoMoreBlocksErr = fmt.Errorf("No more blocks.")
@ -18,8 +19,8 @@ type (
} }
BlocKProducer interface { BlocKProducer interface {
// Returns next block. // Returns next block.
// error is NoMoreBlocksErr if it run out of blocks. // error is NoMoreBlocksErr if it run out of blocks.
Next() (Block, error) Next() (Block, error)
Close() error Close() error
} }