diff options
author | Wolfy-J <[email protected]> | 2018-01-28 19:47:20 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2018-01-28 19:47:20 +0300 |
commit | 332f176ea17e25a9837e31ab979c01b627583d26 (patch) | |
tree | 5eb23e3baa3ed43fd91df5897bc00b1aad9c1bee /README.md | |
parent | 11ff463bbc8a5b573412fcb5104756fcda3dec31 (diff) |
Update README.md
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -34,10 +34,10 @@ Examples: -------- ```go -p, err := NewPool( +p, err := rr.NewPool( func() *exec.Cmd { return exec.Command("php", "worker.php", "pipes") }, - NewPipeFactory(), - Config{ + rr.NewPipeFactory(), + rr.Config{ NumWorkers: uint64(runtime.NumCPU()), AllocateTimeout: time.Second, DestroyTimeout: time.Second, |