Skip to content

Commit 583fcce

Browse files
committed
rename workergroups -> worker pools
1 parent ac70874 commit 583fcce

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ all the examples `Run` functions sequentially in line with the table of contents
3535
* [21 - Struct Embedding](structembedding/main.go)
3636
* [34 - Timers](timers/main.go)
3737
* [35 - Tickers](tickers/main.go)
38-
* [36 - WorkerGroups](workergroups/main.go)
38+
* [36 - Worker Pools](workerpools/main.go)

main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import (
2626
"github.com/symonk/learning-golang/timers"
2727
"github.com/symonk/learning-golang/values"
2828
"github.com/symonk/learning-golang/variables"
29-
"github.com/symonk/learning-golang/workergroups"
29+
"github.com/symonk/learning-golang/workerpools"
3030
)
3131

3232
func main() {
@@ -68,7 +68,7 @@ func buildMap() map[string]func() {
6868
fnMap["ranges"] = ranges.Run
6969
fnMap["timers"] = timers.Run
7070
fnMap["tickers"] = tickers.Run
71-
fnMap["workergroups"] = workergroups.Run
71+
fnMap["workerpools"] = workerpools.Run
7272
fnMap["functions"] = functions.Run
7373
fnMap["closures"] = closures.Run
7474
fnMap["recursion"] = recursion.Run

workergroups/main.go renamed to workerpools/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package workergroups
1+
package workerpools
22

33
import (
44
"fmt"

0 commit comments

Comments
 (0)