From 11dc270d29ef175084aab6ab72de3007318f2d68 Mon Sep 17 00:00:00 2001 From: Gokhun Celik Date: Tue, 12 Sep 2023 15:57:03 +0200 Subject: [PATCH] Fix build for sqlite3 --- .goreleaser.yaml | 2 +- main.go | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) 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