mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2024-11-20 00:50:20 +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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user