Use errors.New instead of fmt.Errorf to create NoMoreBlocksErr in interleaver.

This commit is contained in:
Sascha L. Teichmann 2014-08-19 12:27:42 +02:00
parent 0b96dda52c
commit 74551198fa
2 changed files with 3 additions and 3 deletions

View File

@ -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 {

View File

@ -5,5 +5,5 @@
package main package main
func main() { func main() {
// TODO: Implement me! // TODO: Implement me!
} }