Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
jandelgado committed Nov 11, 2017
1 parent 2327182 commit 7576264
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Build Status](https://travis-ci.org/jandelgado/rabtap.svg?branch=master)](https://travis-ci.org/jandelgado/rabtap)
[![Coverage Status](https://coveralls.io/repos/github/jandelgado/rabtap/badge.svg?branch=master)](https://coveralls.io/github/jandelgado/rabtap?branch=master)
[![GoReportCard](https://goreportcard.com/badge/github.com/jandelgado/rabtap)](https://goreportcard.com/report/github.com/jandelgado/rabtap)
[![Go Report Card](https://goreportcard.com/badge/github.com/jandelgado/rabtap)](https://goreportcard.com/report/github.com/jandelgado/rabtap)

Rabtap helps you understand what's going on in your RabbitMQ message broker and
your distributed apps.
Expand Down
4 changes: 2 additions & 2 deletions app/main/main_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,10 @@ func TestTapMode(t *testing.T) {
}

exchangeConfig := []rabtap.ExchangeConfiguration{
rabtap.ExchangeConfiguration{Exchange: "int-test-exchange",
{Exchange: "int-test-exchange",
BindingKey: "my-routing-key"}}
tapConfig := []rabtap.TapConfiguration{
rabtap.TapConfiguration{AmqpURI: testhelper.IntegrationURIFromEnv(),
{AmqpURI: testhelper.IntegrationURIFromEnv(),
Exchanges: exchangeConfig}}
// signalChannel receives ctrl+C/interrput signal
signalChannel := make(chan os.Signal, 1)
Expand Down
2 changes: 1 addition & 1 deletion pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if [ -n "${GOCYCLO_ERRORS}" ]; then
exit 1
fi

GOFMT_FILES=$(gofmt -l *go app/main/*go)
GOFMT_FILES=$(gofmt -s -l *go app/main/*go)
if [ -n "${GOFMT_FILES}" ]; then
printf >&2 'gofmt failed for the following files:\n%s\n\nplease run "gofmt -w ." on your changes before committing.\n' "${GOFMT_FILES}"
exit 1
Expand Down

0 comments on commit 7576264

Please sign in to comment.