Commit Graph

50 Commits

Author SHA1 Message Date
Gabriele Santomaggio
67160290d2
update go version
Signed-off-by: Gabriele Santomaggio <g.santomaggio@gmail.com>
2024-04-17 10:36:29 +02:00
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
Simon Alling
bd2c06f28f Clarify forever channel declarations
The current idiom

    forever := make(chan bool)

gives the impression that booleans will be sent through `forever`.  But
the channel never has anything sent through it; its purpose is just to
block indefinitely.

Go doesn't have any bottom type (empty type; ⊥), but it does have a unit
type, namely `struct{}`.  Because not even such values will be sent, the
channel need not even exist at all, leaving no doubts as to its purpose.
2022-03-09 16:12:15 +01: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
laststem
2950cee8de go: add publisher confirms 2021-04-15 01:13:45 +09:00
Michael Klishin
82904ea114
Closes #286 2021-04-09 21:44:27 +03:00
Lewis Llobera
cf5263e379 Correct Go variable casing 2021-02-03 16:54:18 +01:00
zy
787b2fd82e go: check error first
Need check error before log out the success message.
2021-01-05 23:30:03 +08:00
Spring Operator
5436636673 URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# HTTP URLs that Could Not Be Fixed
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.

* http://blog.listincomprehension.com/search/label/procket (200) with 1 occurrences could not be migrated:
   ([https](https://blog.listincomprehension.com/search/label/procket) result ClosedChannelException).
* http://central.maven.org/maven2/com/rabbitmq/amqp-client/4.0.2/amqp-client-4.0.2.jar (200) with 1 occurrences could not be migrated:
   ([https](https://central.maven.org/maven2/com/rabbitmq/amqp-client/4.0.2/amqp-client-4.0.2.jar) result SSLHandshakeException).
* http://central.maven.org/maven2/org/slf4j/slf4j-api/1.7.21/slf4j-api-1.7.21.jar (200) with 1 occurrences could not be migrated:
   ([https](https://central.maven.org/maven2/org/slf4j/slf4j-api/1.7.21/slf4j-api-1.7.21.jar) result SSLHandshakeException).
* http://central.maven.org/maven2/org/slf4j/slf4j-simple/1.7.22/slf4j-simple-1.7.22.jar (200) with 1 occurrences could not be migrated:
   ([https](https://central.maven.org/maven2/org/slf4j/slf4j-simple/1.7.22/slf4j-simple-1.7.22.jar) result SSLHandshakeException).
* http://clojurerabbitmq.info (200) with 1 occurrences could not be migrated:
   ([https](https://clojurerabbitmq.info) result AnnotatedConnectException).
* http://dozzie.jarowit.net/trac/wiki/TOML (200) with 1 occurrences could not be migrated:
   ([https](https://dozzie.jarowit.net/trac/wiki/TOML) result SSLHandshakeException).
* http://dozzie.jarowit.net/trac/wiki/subproc (200) with 1 occurrences could not be migrated:
   ([https](https://dozzie.jarowit.net/trac/wiki/subproc) result SSLHandshakeException).
* http://e2project.org (200) with 1 occurrences could not be migrated:
   ([https](https://e2project.org) result AnnotatedConnectException).
* http://nitrogenproject.com/ (200) with 2 occurrences could not be migrated:
   ([https](https://nitrogenproject.com/) result ConnectTimeoutException).
* http://proper.softlab.ntua.gr (200) with 1 occurrences could not be migrated:
   ([https](https://proper.softlab.ntua.gr) result SSLHandshakeException).
* http://rubybunny.info (200) with 2 occurrences could not be migrated:
   ([https](https://rubybunny.info) result AnnotatedConnectException).
* http://yaws.hyber.org (200) with 1 occurrences could not be migrated:
   ([https](https://yaws.hyber.org) result AnnotatedConnectException).
* http://schemas.microsoft.com/developer/msbuild/2003 (404) with 13 occurrences could not be migrated:
   ([https](https://schemas.microsoft.com/developer/msbuild/2003) result AnnotatedConnectException).
* http://choven.ca (503) with 1 occurrences could not be migrated:
   ([https](https://choven.ca) result ConnectTimeoutException).

# Fixed URLs

## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.

* http://fixprotocol.org/ (301) with 1 occurrences migrated to:
  https://fixtrading.org ([https](https://fixprotocol.org/) result SSLHandshakeException).
* http://cl-rabbit.io/cl-bunny (UnknownHostException) with 2 occurrences migrated to:
  https://cl-rabbit.io/cl-bunny ([https](https://cl-rabbit.io/cl-bunny) result UnknownHostException).
* http://cl-rabbit.io/cl-bunny/tutorials/ (UnknownHostException) with 1 occurrences migrated to:
  https://cl-rabbit.io/cl-bunny/tutorials/ ([https](https://cl-rabbit.io/cl-bunny/tutorials/) result UnknownHostException).
* http://cl-rabbit.io/cl-bunny/tutorials/tutorial-five-cl.html (UnknownHostException) with 1 occurrences migrated to:
  https://cl-rabbit.io/cl-bunny/tutorials/tutorial-five-cl.html ([https](https://cl-rabbit.io/cl-bunny/tutorials/tutorial-five-cl.html) result UnknownHostException).
* http://cl-rabbit.io/cl-bunny/tutorials/tutorial-four-cl.html (UnknownHostException) with 1 occurrences migrated to:
  https://cl-rabbit.io/cl-bunny/tutorials/tutorial-four-cl.html ([https](https://cl-rabbit.io/cl-bunny/tutorials/tutorial-four-cl.html) result UnknownHostException).
* http://cl-rabbit.io/cl-bunny/tutorials/tutorial-one-cl.html (UnknownHostException) with 1 occurrences migrated to:
  https://cl-rabbit.io/cl-bunny/tutorials/tutorial-one-cl.html ([https](https://cl-rabbit.io/cl-bunny/tutorials/tutorial-one-cl.html) result UnknownHostException).
* http://cl-rabbit.io/cl-bunny/tutorials/tutorial-six-cl.html (UnknownHostException) with 1 occurrences migrated to:
  https://cl-rabbit.io/cl-bunny/tutorials/tutorial-six-cl.html ([https](https://cl-rabbit.io/cl-bunny/tutorials/tutorial-six-cl.html) result UnknownHostException).
* http://cl-rabbit.io/cl-bunny/tutorials/tutorial-three-cl.html (UnknownHostException) with 1 occurrences migrated to:
  https://cl-rabbit.io/cl-bunny/tutorials/tutorial-three-cl.html ([https](https://cl-rabbit.io/cl-bunny/tutorials/tutorial-three-cl.html) result UnknownHostException).
* http://cl-rabbit.io/cl-bunny/tutorials/tutorial-two-cl.html (UnknownHostException) with 1 occurrences migrated to:
  https://cl-rabbit.io/cl-bunny/tutorials/tutorial-two-cl.html ([https](https://cl-rabbit.io/cl-bunny/tutorials/tutorial-two-cl.html) result UnknownHostException).
* http://erldb.org (UnknownHostException) with 1 occurrences migrated to:
  https://erldb.org ([https](https://erldb.org) result UnknownHostException).
* http://hg.rabbitmq.com/rabbitmq-erlang-client/ (UnknownHostException) with 1 occurrences migrated to:
  https://hg.rabbitmq.com/rabbitmq-erlang-client/ ([https](https://hg.rabbitmq.com/rabbitmq-erlang-client/) result UnknownHostException).
* http://elixir-lang.org/docs/stable/mix/Mix.html (301) with 1 occurrences migrated to:
  https://elixir-lang.org/docs/stable/mix/Mix.html ([https](https://elixir-lang.org/docs/stable/mix/Mix.html) result 404).

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://cloudi.org/ with 27 occurrences migrated to:
  https://cloudi.org/ ([https](https://cloudi.org/) result 200).
* http://docs.spring.io/spring-amqp/reference/html/ with 1 occurrences migrated to:
  https://docs.spring.io/spring-amqp/reference/html/ ([https](https://docs.spring.io/spring-amqp/reference/html/) result 200).
* http://elixir-lang.org with 1 occurrences migrated to:
  https://elixir-lang.org ([https](https://elixir-lang.org) result 200).
* http://elixir-lang.org/install.html with 1 occurrences migrated to:
  https://elixir-lang.org/install.html ([https](https://elixir-lang.org/install.html) result 200).
* http://erlware.org/ with 1 occurrences migrated to:
  https://erlware.org/ ([https](https://erlware.org/) result 200).
* http://getcomposer.org with 2 occurrences migrated to:
  https://getcomposer.org ([https](https://getcomposer.org) result 200).
* http://github.com/rabbitmq/rabbitmq-tutorials with 1 occurrences migrated to:
  https://github.com/rabbitmq/rabbitmq-tutorials ([https](https://github.com/rabbitmq/rabbitmq-tutorials) result 200).
* http://hackage.haskell.org/package/amqp with 1 occurrences migrated to:
  https://hackage.haskell.org/package/amqp ([https](https://hackage.haskell.org/package/amqp) result 200).
* http://inaka.github.io/cowboy-trails/ with 1 occurrences migrated to:
  https://inaka.github.io/cowboy-trails/ ([https](https://inaka.github.io/cowboy-trails/) result 200).
* http://leiningen.org with 1 occurrences migrated to:
  https://leiningen.org ([https](https://leiningen.org) result 200).
* http://ninenines.eu with 6 occurrences migrated to:
  https://ninenines.eu ([https](https://ninenines.eu) result 200).
* http://www.actordb.com/ with 2 occurrences migrated to:
  https://www.actordb.com/ ([https](https://www.actordb.com/) result 200).
* http://www.apple.com/DTDs/PropertyList-1.0.dtd with 10 occurrences migrated to:
  https://www.apple.com/DTDs/PropertyList-1.0.dtd ([https](https://www.apple.com/DTDs/PropertyList-1.0.dtd) result 200).
* http://www.cliki.net/fibonacci with 1 occurrences migrated to:
  https://www.cliki.net/fibonacci ([https](https://www.cliki.net/fibonacci) result 200).
* http://www.cs.kent.ac.uk/projects/wrangler/Home.html with 1 occurrences migrated to:
  https://www.cs.kent.ac.uk/projects/wrangler/Home.html ([https](https://www.cs.kent.ac.uk/projects/wrangler/Home.html) result 200).
* http://www.eclipse.org/legal/epl-v10.html with 1 occurrences migrated to:
  https://www.eclipse.org/legal/epl-v10.html ([https](https://www.eclipse.org/legal/epl-v10.html) result 200).
* http://www.rabbitmq.com/download.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/download.html ([https](https://www.rabbitmq.com/download.html) result 200).
* http://www.rabbitmq.com/erlang-client-user-guide.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/erlang-client-user-guide.html ([https](https://www.rabbitmq.com/erlang-client-user-guide.html) result 200).
* http://www.rabbitmq.com/getstarted.html with 20 occurrences migrated to:
  https://www.rabbitmq.com/getstarted.html ([https](https://www.rabbitmq.com/getstarted.html) result 200).
* http://www.rabbitmq.com/releases/rabbitmq-server/ with 1 occurrences migrated to:
  https://www.rabbitmq.com/releases/rabbitmq-server/ ([https](https://www.rabbitmq.com/releases/rabbitmq-server/) result 200).
* http://www.rabbitmq.com/tutorials/tutorial-five-javascript.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorials/tutorial-five-javascript.html ([https](https://www.rabbitmq.com/tutorials/tutorial-five-javascript.html) result 200).
* http://www.rabbitmq.com/tutorials/tutorial-five-php.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorials/tutorial-five-php.html ([https](https://www.rabbitmq.com/tutorials/tutorial-five-php.html) result 200).
* http://www.rabbitmq.com/tutorials/tutorial-four-javascript.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorials/tutorial-four-javascript.html ([https](https://www.rabbitmq.com/tutorials/tutorial-four-javascript.html) result 200).
* http://www.rabbitmq.com/tutorials/tutorial-four-php.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorials/tutorial-four-php.html ([https](https://www.rabbitmq.com/tutorials/tutorial-four-php.html) result 200).
* http://www.rabbitmq.com/tutorials/tutorial-one-javascript.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorials/tutorial-one-javascript.html ([https](https://www.rabbitmq.com/tutorials/tutorial-one-javascript.html) result 200).
* http://www.rabbitmq.com/tutorials/tutorial-one-php.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorials/tutorial-one-php.html ([https](https://www.rabbitmq.com/tutorials/tutorial-one-php.html) result 200).
* http://www.rabbitmq.com/tutorials/tutorial-six-javascript.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorials/tutorial-six-javascript.html ([https](https://www.rabbitmq.com/tutorials/tutorial-six-javascript.html) result 200).
* http://www.rabbitmq.com/tutorials/tutorial-six-php.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorials/tutorial-six-php.html ([https](https://www.rabbitmq.com/tutorials/tutorial-six-php.html) result 200).
* http://www.rabbitmq.com/tutorials/tutorial-three-javascript.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorials/tutorial-three-javascript.html ([https](https://www.rabbitmq.com/tutorials/tutorial-three-javascript.html) result 200).
* http://www.rabbitmq.com/tutorials/tutorial-three-php.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorials/tutorial-three-php.html ([https](https://www.rabbitmq.com/tutorials/tutorial-three-php.html) result 200).
* http://www.rabbitmq.com/tutorials/tutorial-two-javascript.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorials/tutorial-two-javascript.html ([https](https://www.rabbitmq.com/tutorials/tutorial-two-javascript.html) result 200).
* http://www.rabbitmq.com/tutorials/tutorial-two-php.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorials/tutorial-two-php.html ([https](https://www.rabbitmq.com/tutorials/tutorial-two-php.html) result 200).
* http://www.rebar3.org with 1 occurrences migrated to:
  https://www.rebar3.org ([https](https://www.rebar3.org) result 200).
* http://inaka.github.com/apns4erl with 1 occurrences migrated to:
  https://inaka.github.com/apns4erl ([https](https://inaka.github.com/apns4erl) result 301).
* http://inaka.github.com/edis/ with 1 occurrences migrated to:
  https://inaka.github.com/edis/ ([https](https://inaka.github.com/edis/) result 301).
* http://lasp-lang.org/ with 1 occurrences migrated to:
  https://lasp-lang.org/ ([https](https://lasp-lang.org/) result 301).
* http://rabbitmq.com/download.html with 1 occurrences migrated to:
  https://rabbitmq.com/download.html ([https](https://rabbitmq.com/download.html) result 301).
* http://saleyn.github.com/erlexec with 1 occurrences migrated to:
  https://saleyn.github.com/erlexec ([https](https://saleyn.github.com/erlexec) result 301).
* http://erlang.org/download.html (302) with 1 occurrences migrated to:
  https://www.erlang.org/download.html ([https](https://erlang.org/download.html) result 301).
* http://www.erlang.org/download/otp_src_R14B03.tar.gz with 1 occurrences migrated to:
  https://www.erlang.org/download/otp_src_R14B03.tar.gz ([https](https://www.erlang.org/download/otp_src_R14B03.tar.gz) result 301).
* http://www.rabbitmq.com/releases with 1 occurrences migrated to:
  https://www.rabbitmq.com/releases ([https](https://www.rabbitmq.com/releases) result 301).
* http://www.rabbitmq.com/tutorial-five-dotnet.html with 2 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-five-dotnet.html ([https](https://www.rabbitmq.com/tutorial-five-dotnet.html) result 301).
* http://www.rabbitmq.com/tutorial-five-go.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-five-go.html ([https](https://www.rabbitmq.com/tutorial-five-go.html) result 301).
* http://www.rabbitmq.com/tutorial-five-java.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-five-java.html ([https](https://www.rabbitmq.com/tutorial-five-java.html) result 301).
* http://www.rabbitmq.com/tutorial-five-python.html with 4 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-five-python.html ([https](https://www.rabbitmq.com/tutorial-five-python.html) result 301).
* http://www.rabbitmq.com/tutorial-five-ruby.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-five-ruby.html ([https](https://www.rabbitmq.com/tutorial-five-ruby.html) result 301).
* http://www.rabbitmq.com/tutorial-four-dotnet.html with 2 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-four-dotnet.html ([https](https://www.rabbitmq.com/tutorial-four-dotnet.html) result 301).
* http://www.rabbitmq.com/tutorial-four-go.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-four-go.html ([https](https://www.rabbitmq.com/tutorial-four-go.html) result 301).
* http://www.rabbitmq.com/tutorial-four-java.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-four-java.html ([https](https://www.rabbitmq.com/tutorial-four-java.html) result 301).
* http://www.rabbitmq.com/tutorial-four-python.html with 4 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-four-python.html ([https](https://www.rabbitmq.com/tutorial-four-python.html) result 301).
* http://www.rabbitmq.com/tutorial-four-ruby.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-four-ruby.html ([https](https://www.rabbitmq.com/tutorial-four-ruby.html) result 301).
* http://www.rabbitmq.com/tutorial-one-dotnet.html with 2 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-one-dotnet.html ([https](https://www.rabbitmq.com/tutorial-one-dotnet.html) result 301).
* http://www.rabbitmq.com/tutorial-one-go.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-one-go.html ([https](https://www.rabbitmq.com/tutorial-one-go.html) result 301).
* http://www.rabbitmq.com/tutorial-one-java.html with 2 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-one-java.html ([https](https://www.rabbitmq.com/tutorial-one-java.html) result 301).
* http://www.rabbitmq.com/tutorial-one-python.html with 4 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-one-python.html ([https](https://www.rabbitmq.com/tutorial-one-python.html) result 301).
* http://www.rabbitmq.com/tutorial-one-ruby.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-one-ruby.html ([https](https://www.rabbitmq.com/tutorial-one-ruby.html) result 301).
* http://www.rabbitmq.com/tutorial-six-dotnet.html with 2 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-six-dotnet.html ([https](https://www.rabbitmq.com/tutorial-six-dotnet.html) result 301).
* http://www.rabbitmq.com/tutorial-six-go.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-six-go.html ([https](https://www.rabbitmq.com/tutorial-six-go.html) result 301).
* http://www.rabbitmq.com/tutorial-six-java.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-six-java.html ([https](https://www.rabbitmq.com/tutorial-six-java.html) result 301).
* http://www.rabbitmq.com/tutorial-six-python.html with 3 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-six-python.html ([https](https://www.rabbitmq.com/tutorial-six-python.html) result 301).
* http://www.rabbitmq.com/tutorial-six-ruby.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-six-ruby.html ([https](https://www.rabbitmq.com/tutorial-six-ruby.html) result 301).
* http://www.rabbitmq.com/tutorial-three-dotnet.html with 2 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-three-dotnet.html ([https](https://www.rabbitmq.com/tutorial-three-dotnet.html) result 301).
* http://www.rabbitmq.com/tutorial-three-go.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-three-go.html ([https](https://www.rabbitmq.com/tutorial-three-go.html) result 301).
* http://www.rabbitmq.com/tutorial-three-java.html with 2 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-three-java.html ([https](https://www.rabbitmq.com/tutorial-three-java.html) result 301).
* http://www.rabbitmq.com/tutorial-three-python.html with 4 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-three-python.html ([https](https://www.rabbitmq.com/tutorial-three-python.html) result 301).
* http://www.rabbitmq.com/tutorial-three-ruby.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-three-ruby.html ([https](https://www.rabbitmq.com/tutorial-three-ruby.html) result 301).
* http://www.rabbitmq.com/tutorial-two-dotnet.html with 2 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-two-dotnet.html ([https](https://www.rabbitmq.com/tutorial-two-dotnet.html) result 301).
* http://www.rabbitmq.com/tutorial-two-go.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-two-go.html ([https](https://www.rabbitmq.com/tutorial-two-go.html) result 301).
* http://www.rabbitmq.com/tutorial-two-java.html with 2 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-two-java.html ([https](https://www.rabbitmq.com/tutorial-two-java.html) result 301).
* http://www.rabbitmq.com/tutorial-two-python.html with 4 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-two-python.html ([https](https://www.rabbitmq.com/tutorial-two-python.html) result 301).
* http://www.rabbitmq.com/tutorial-two-ruby.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorial-two-ruby.html ([https](https://www.rabbitmq.com/tutorial-two-ruby.html) result 301).
* http://www.rabbitmq.com/tutorials with 1 occurrences migrated to:
  https://www.rabbitmq.com/tutorials ([https](https://www.rabbitmq.com/tutorials) result 301).
* http://zhongwencool.github.io/observer_cli with 1 occurrences migrated to:
  https://zhongwencool.github.io/observer_cli ([https](https://zhongwencool.github.io/observer_cli) result 301).
* http://go.microsoft.com/fwlink/?LinkID=322105 with 12 occurrences migrated to:
  https://go.microsoft.com/fwlink/?LinkID=322105 ([https](https://go.microsoft.com/fwlink/?LinkID=322105) result 302).
2019-03-20 03:25:16 -05:00
JinBeom Hong
11a1b3cae6 fix typo 2018-08-13 13:37:02 +09:00
Michael Klishin
ad57c45190 Merge pull request #126 from netqyq/master
Update worker.go
2017-04-10 18:02:29 +03:00
Larry Qu
92bcb23944 Update worker.go
fix: Ack should be an the end of loop.
2017-04-10 22:41:44 +08:00
Joel Shapiro
2606c692d5
fix spelling in go tutorials 2017-02-05 20:49:14 -05:00
Hiroaki Nakamura
b877dbd708 Remove reduncant panic after log.Fatalf
Also run gofmt to format code
2016-07-01 00:15:03 +00:00
Hiroaki Nakamura
808feee73b Remove unused import on fmt 2016-07-01 00:13:43 +00:00
Steven Phillips
ff94393cbc emit_log_topic.go: Removed unreachable panic()
log.Fatalf() exist the program, so a following panic() is unnecessary
2016-02-15 12:56:25 -08:00
Dim0N22
b1bde4c0b5 Changed links to go implementation 2015-09-22 21:07:45 +03:00
Giuseppe Privitera
eb4d6f6c44 Revert "Update send.go in tutorial 1 for golang" 2015-09-08 11:59:49 +02:00
AlexandrT
0c605f7a24 Update send.go in tutorial 1 for golang
Go1.5 for linux - need comma after amqp.Publishing
2015-09-07 16:04:10 +03:00
Giuseppe Privitera
8fdbdae4e7 set prefetch count to 1 2015-08-12 09:32:02 +01:00
Giuseppe Privitera
a2fdf79d5b added feedback after n secs sleep 2015-08-10 17:46:35 +01:00
Giuseppe Privitera
f4c08959cd proper go indentation 2015-08-10 11:52:55 +01:00
Giuseppe Privitera
d465702dbd log message sent 2015-08-10 09:50:13 +01:00
Giuseppe Privitera
8752dc3c08 declare queue and log message sent 2015-08-10 09:41:11 +01:00
Majid Golshadi
863d795158 Update send.go 2015-08-04 12:16:53 +04:30
mandolyte
dc5357c9f8 Corrected argument handling 2014-10-26 19:52:02 -04:00
mandolyte
0a1a77059e Corrected execute statements to have topic arguments 2014-10-26 19:51:21 -04:00
mandolyte
756e6b737e Added check to verify that sufficient args are supplied.
Corrected the range to skip Args[0] (which is the command itself)
2014-10-26 19:28:15 -04:00
mandolyte
1b92c78a00 Changed emit_log.go to handle multiple command line args
Changed receive_logs.go to declare the Exchange so that if it is run
before emit_log it will not panic.
2014-10-26 18:35:00 -04:00
mandolyte
c51568aad5 Imports corrected 2014-10-26 18:08:57 -04:00
mandolyte
1720d85d0d added dot count for fake work delay 2014-10-26 08:07:52 -04:00
Michael Klishin
0fe6cf5736 Merge pull request #40 from pilwon/patch-1
Go: Added missing import "os"
2014-08-26 11:49:30 +04:00
Pilwon Huh
b8885f4eaf Go: Changed receive_logs_direct.go to continue listening.
Changed `receive_logs_direct.go` of Go tutorial to continue listening after the first message, to be consistent with other files including `receive_logs_topic.go`.
2014-08-25 23:28:33 -04: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
Pilwon Huh
99f02f8271 Added Tutorial 6 code for Go. 2014-08-18 21:29:22 -04:00
umisama
479c04c685 optimization 2014-01-07 19:48:49 +09:00
iSpoony
a75cb983bc optimization 2013-11-22 11:07:51 +08:00
Michael Klishin
b54d3411fe Ditto 2013-10-18 00:10:46 +04:00
Michael Klishin
beeda3df14 Typo 2013-10-18 00:10:19 +04:00
Michael Klishin
61b6f151ed README for Go 2013-10-18 00:10:06 +04:00
Michael Klishin
5e3bc31b66 Port tutorial 2 to Go 2013-10-18 00:02:23 +04:00
Michael Klishin
b66137315c Port tutorial 4 to Go 2013-10-17 23:43:57 +04:00
Michael Klishin
57e863d225 Port tutorial 5 to Go 2013-10-17 23:43:15 +04:00
Michael Klishin
b87d0c966b Refactor tutorial 2 2013-10-17 22:44:55 +04:00
Michael Klishin
fc0dc7f6e4 Refactor error handling 2013-10-17 22:36:03 +04:00
Michael Klishin
270fb129a1 Port tutorial 2 to Go 2013-10-17 02:54:34 +04:00
Michael Klishin
309b5d20c8 .gitignore for Go tutorials 2013-10-17 01:10:14 +04:00
Michael Klishin
f4cd7a7b39 Port tutorial 1 to Go 2013-10-17 01:09:33 +04:00