summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index bbc26f43..56d84a55 100644
--- a/README.md
+++ b/README.md
@@ -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,