mirror of
				https://bitbucket.org/s_l_teichmann/mtsatellite
				synced 2025-11-03 17:45:25 +01:00 
			
		
		
		
	Use errors.New instead of fmt.Errorf to create NoMoreBlocksErr in interleaver.
This commit is contained in:
		@@ -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!
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user