mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2024-11-08 03:00:26 +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
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"errors"
|
||||
|
||||
"bitbucket.org/s_l_teichmann/mtredisalize/common"
|
||||
)
|
||||
|
||||
var NoMoreBlocksErr = fmt.Errorf("No more blocks.")
|
||||
var NoMoreBlocksErr = errors.New("No more blocks.")
|
||||
|
||||
type (
|
||||
Block struct {
|
||||
|
|
|
@ -5,5 +5,5 @@
|
|||
package main
|
||||
|
||||
func main() {
|
||||
// TODO: Implement me!
|
||||
// TODO: Implement me!
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user