ConnectEverything / nats-by-example

Collection of runnable, reference examples using NATS (https://nats.io)
https://natsbyexample.com
152 stars 37 forks source link

Add Go implementation of JSON for Message Payloads #185

Closed iartarisi closed 2 months ago

iartarisi commented 8 months ago

Hiya. I tried to follow the python example when translating this to Go. Also, I'm struggling with the asciicinema. nbe generate recording didn't work for me.

bruth commented 8 months ago

Thanks for the contribution!

I'm struggling with the asciicinema.

I see the output.txt was generated, what error do you get when running that command?

iartarisi commented 8 months ago

I actually created the output.txt manually.

I don't see an error here:

2024/01/09 15:43:20 examples/jetstream/api-migration/deno: no main file. skipping...
2024/01/09 15:43:20 examples/jetstream/interest-stream/deno: no main file. skipping...
2024/01/09 15:43:20 examples/jetstream/interest-stream/dotnet2: no main file. skipping...
2024/01/09 15:43:20 examples/jetstream/limits-stream/deno: no main file. skipping...
2024/01/09 15:43:20 examples/jetstream/limits-stream/dotnet2: no main file. skipping...
2024/01/09 15:43:20 examples/jetstream/pull-consumer/deno: no main file. skipping...
2024/01/09 15:43:20 examples/jetstream/pull-consumer/dotnet2: no main file. skipping...
2024/01/09 15:43:20 examples/jetstream/pull-consumer-limits/dotnet2: no main file. skipping...
2024/01/09 15:43:20 examples/jetstream/workqueue-stream/deno: no main file. skipping...
2024/01/09 15:43:20 examples/jetstream/workqueue-stream/dotnet2: no main file. skipping...
2024/01/09 15:43:20 examples/kv/intro/deno: no main file. skipping...
2024/01/09 15:43:20 examples/kv/intro/dotnet2: no main file. skipping...
2024/01/09 15:43:20 examples/messaging/concurrent/dotnet2: no main file. skipping...
2024/01/09 15:43:20 examples/messaging/iterating-multiple-subscriptions/dotnet2: no main file. skipping...
2024/01/09 15:43:20 examples/messaging/json/deno: no main file. skipping...
2024/01/09 15:43:20 examples/messaging/json/dotnet2: no main file. skipping...
2024/01/09 15:43:20 examples/messaging/protobuf/dotnet2: no main file. skipping...
2024/01/09 15:43:20 examples/messaging/pub-sub/deno: no main file. skipping...
2024/01/09 15:43:20 examples/messaging/pub-sub/dotnet2: no main file. skipping...
read category: messaging: read example: pub-sub: examples/messaging/pub-sub/elixir: language "elixir" not yet supported