Gabriele Santomaggio
e4fee05c96
Use PublishWithContext instad of Publish ( #337 )
...
Update the GO tutorials with PublishWithContext instead of Publish
Publish is deprecated.
As context, I used: `context.WithTimeout(context.Background(), 5*time.Second)`
update the Golang Version to 1.7
Signed-off-by: Gabriele Santomaggio G.santomaggio@gmail.com
2022-09-05 11:34:35 +02:00
Ignacio Taranto
98a3ff7c1f
Go: Use log.Panicf instead log.Fatalf
...
The problem is that log.Fatalf calls os.Exit(1) behind the covers and
defer statements won't be called.
2021-11-18 16:09:36 -03:00
Michael Klishin
52ca462906
Go: switch to rabbitmq/amqp091-go
2021-06-09 14:58:58 +03:00
Hiroaki Nakamura
b877dbd708
Remove reduncant panic after log.Fatalf
...
Also run gofmt to format code
2016-07-01 00:15:03 +00:00
Giuseppe Privitera
8752dc3c08
declare queue and log message sent
2015-08-10 09:41:11 +01:00
Pilwon Huh
41ec9ae336
Go: Added missing import "os"
2014-08-25 23:24:38 -04:00
Pilwon Huh
371fc3b64d
Improved, fixed bug, and cleaned up code for Go.
2014-08-18 21:29:50 -04:00
Michael Klishin
5e3bc31b66
Port tutorial 2 to Go
2013-10-18 00:02:23 +04:00