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
|
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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user