diff --git a/change_version.sh b/change_version.sh index a51fbb0..c6401ad 100755 --- a/change_version.sh +++ b/change_version.sh @@ -1,4 +1,4 @@ #/bin/bash echo $1 > VERSION -sed -i -e "s/.*buildVersion = \"*.*/buildVersion = \"$1\"/" ./connection.go +sed -i -e "s/.*buildVersion = \"*.*/buildVersion = \"$1\"/" ./connection.go go fmt ./... diff --git a/connection.go b/connection.go index f4e706e..bc43d86 100644 --- a/connection.go +++ b/connection.go @@ -24,7 +24,7 @@ const ( defaultHeartbeat = 10 * time.Second defaultConnectionTimeout = 30 * time.Second defaultProduct = "Amqp 0.9.1 Client" - buildVersion = "1.3.0" + buildVersion = "1.3.2" platform = "golang" // Safer default that makes channel leaks a lot easier to spot // before they create operational headaches. See https://github.com/rabbitmq/rabbitmq-server/issues/1593. diff --git a/connection_test.go b/connection_test.go index bafa366..167487d 100644 --- a/connection_test.go +++ b/connection_test.go @@ -3,6 +3,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build integration // +build integration package amqp091 diff --git a/example_client_test.go b/example_client_test.go index d97c56b..e55727c 100644 --- a/example_client_test.go +++ b/example_client_test.go @@ -73,9 +73,9 @@ var ( // attempts to connect to the server. func New(queueName, addr string) *Client { client := Client{ - logger: log.New(os.Stdout, "", log.LstdFlags), + logger: log.New(os.Stdout, "", log.LstdFlags), queueName: queueName, - done: make(chan bool), + done: make(chan bool), } go client.handleReconnect(addr) return &client diff --git a/fuzz.go b/fuzz.go index 602220f..c9f03ea 100644 --- a/fuzz.go +++ b/fuzz.go @@ -3,6 +3,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build gofuzz // +build gofuzz package amqp091