From 5d3d61855cfc4dfb6f656ae4da9773ccbdb046c6 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Thu, 22 Mar 2018 16:44:40 +0000 Subject: [PATCH] nitpick --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cf572ef6..236fc7c7 100644 --- a/README.md +++ b/README.md @@ -267,7 +267,7 @@ Go-micro has a built in message broker interface for event driven architectures. PubSub operates on the same protobuf generated messages as RPC. They are encoded/decoded automatically and sent via the broker. By default go-micro includes a point-to-point http broker but this can be swapped out via go-plugins. -### Publish +### Publish Create a new publisher with a `topic` name and service client @@ -276,7 +276,7 @@ Create a new publisher with a `topic` name and service client p := micro.NewPublisher("events", service.Client()) ``` -// Publish a proto message +Publish a proto message ``` p.Publish(context.TODO(), &proto.Event{Name: "event"})