mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2024-12-24 01:00:18 +01:00
go fmt'ed.
This commit is contained in:
parent
c14e7c3dd0
commit
0b96dda52c
@ -5,8 +5,9 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"bitbucket.org/s_l_teichmann/mtredisalize/common"
|
||||
"fmt"
|
||||
|
||||
"bitbucket.org/s_l_teichmann/mtredisalize/common"
|
||||
)
|
||||
|
||||
var NoMoreBlocksErr = fmt.Errorf("No more blocks.")
|
||||
@ -18,8 +19,8 @@ type (
|
||||
}
|
||||
|
||||
BlocKProducer interface {
|
||||
// Returns next block.
|
||||
// error is NoMoreBlocksErr if it run out of blocks.
|
||||
// Returns next block.
|
||||
// error is NoMoreBlocksErr if it run out of blocks.
|
||||
Next() (Block, error)
|
||||
Close() error
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user