rename mapreduce to mr

This commit is contained in:
kevin
2020-07-29 22:34:37 +08:00
parent 87dab2eeab
commit dc744766a9
8 changed files with 23 additions and 23 deletions

View File

@@ -1,4 +1,4 @@
package mapreduce
package mr
import (
"errors"
@@ -16,7 +16,7 @@ const (
minWorkers = 1
)
var ErrCancelWithNil = errors.New("mapreduce cancelled with nil")
var ErrCancelWithNil = errors.New("mr cancelled with nil")
type (
GenerateFunc func(source chan<- interface{})

View File

@@ -1,4 +1,4 @@
package mapreduce
package mr
import (
"errors"