diff --git a/developer/tutorials/reqreply.md b/developer/tutorials/reqreply.md index 30760c7..31cfe57 100644 --- a/developer/tutorials/reqreply.md +++ b/developer/tutorials/reqreply.md @@ -19,13 +19,13 @@ You will use these sessions to run the NATS request and reply clients. ### 3. Change to the examples directory ```sh -% cd $GOPATH/src/github.com/nats-io/nats/examples +% cd $GOPATH/src/github.com/nats-io/nats.go/examples ``` ### 4. In one terminal, run the reply client listener ```sh -% go run nats-rply.go foo "this is my response" +% go run nats-rply/main.go foo "this is my response" ``` You should see the message `Receiver is listening`, and that the NATS receiver client is listening on the "help.please" subject. The reply client acts as a receiver, listening for message requests. In NATS, the receiver is a subscriber. @@ -33,7 +33,7 @@ You should see the message `Receiver is listening`, and that the NATS receiver c ### 5. In the other terminal, run the request client ```sh -% go run nats-req.go foo "request payload" +% go run nats-req/main.go foo "request payload" ``` The NATS requestor client makes a request by sending the message "some message" on the “help.please” subject.