From 54dac429258e5f426478fd1f0a6450217be5f800 Mon Sep 17 00:00:00 2001 From: nxshock Date: Fri, 24 Jun 2022 21:05:30 +0500 Subject: [PATCH] Fix comment --- gwp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gwp.go b/gwp.go index 30539f2..3553500 100644 --- a/gwp.go +++ b/gwp.go @@ -25,7 +25,7 @@ type WorkerPool struct { } // New creates new pool of workers with specified goroutine count. -// If specified number of workers less than 1, runtume.NumCPU() is used. +// If specified number of workers less than 1, runtime.NumCPU() is used. func New(threadCount int) *WorkerPool { if threadCount <= 0 { threadCount = runtime.NumCPU()