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

@@ -4,14 +4,14 @@ import (
"fmt"
"time"
"zero/core/mapreduce"
"zero/core/mr"
"zero/core/timex"
)
func main() {
start := timex.Now()
mapreduce.FinishVoid(func() {
mr.FinishVoid(func() {
time.Sleep(time.Second)
}, func() {
time.Sleep(time.Second * 5)
@@ -20,7 +20,7 @@ func main() {
}, func() {
time.Sleep(time.Second * 6)
}, func() {
if err := mapreduce.Finish(func() error {
if err := mr.Finish(func() error {
time.Sleep(time.Second)
return nil
}, func() error {