diff --git a/.goreleaser.yaml b/.goreleaser.yaml index e6e1bac..ee7a485 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -3,7 +3,7 @@ before: - go mod tidy builds: - env: - - CGO_ENABLED=0 + - CGO_ENABLED=1 goos: - linux - windows diff --git a/main.go b/main.go index 1845523..55c2378 100644 --- a/main.go +++ b/main.go @@ -21,8 +21,7 @@ import ( var Version = "development" -const ( - usage = `coyote [global options] +const usage = `coyote [global options] Examples: coyote --url amqps://user@myurl --exchange myexchange --store events.sqlite @@ -36,7 +35,6 @@ Exchange binding formats: --exchange myexchange1,myexchange2 # All messages in multiple exchanges --exchange myexchange1=mykey1,myexchange2=mykey2 # Messages with routing keys in multiple exchanges --exchange myexchange1,myexchange2=mykey2 # Messages with or without routing keys in multiple exchanges` -) type listen struct { c []combination