golang pubsub example

966 views
Skip to first unread message

Richard Stupek

unread,
Apr 27, 2016, 4:52:32 PM4/27/16
to Google Cloud Pub/Sub Discussions
Is there any complete examples which apply to the latest release of the golang client?  Every example I can find doesn't compile and uses deprecated methods

Takashi Matsuo

unread,
May 2, 2016, 7:40:28 PM5/2/16
to Richard Stupek, Google Cloud Pub/Sub Discussions
On Wed, Apr 27, 2016 at 1:52 PM Richard Stupek <rst...@gmail.com> wrote:
Is there any complete examples which apply to the latest release of the golang client?  Every example I can find doesn't compile and uses deprecated methods


Hi Richard,

How about gcloud-golang and its sample?


To run the sample, you can do the following:
```
```
It compiles for me.

Which sample is broken? Can you file an issue against the broken sample?

Thanks!

--
You received this message because you are subscribed to the Google Groups "Google Cloud Pub/Sub Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-pubsub-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-pubsub-discuss/6e108ca0-a8df-44bc-9d13-175656c1a669%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages