mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2024-12-24 01:00:18 +01:00
Use errors.New instead of fmt.Errorf to create NoMoreBlocksErr in interleaver.
This commit is contained in:
parent
0b96dda52c
commit
74551198fa
@ -5,12 +5,12 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"errors"
|
||||||
|
|
||||||
"bitbucket.org/s_l_teichmann/mtredisalize/common"
|
"bitbucket.org/s_l_teichmann/mtredisalize/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
var NoMoreBlocksErr = fmt.Errorf("No more blocks.")
|
var NoMoreBlocksErr = errors.New("No more blocks.")
|
||||||
|
|
||||||
type (
|
type (
|
||||||
Block struct {
|
Block struct {
|
||||||
|
@ -5,5 +5,5 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
// TODO: Implement me!
|
// TODO: Implement me!
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user